Struct alacritty::gl::FnPtr[][src]

pub struct FnPtr {
    f: *const c_void,
    is_loaded: bool,
}

Fields

f: *const c_void

The function pointer that will be used when calling the function.

is_loaded: bool

True if the pointer points to a real function, false if points to a panic! fn.

Implementations

Creates a FnPtr from a load attempt.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.