Struct allegro_font_sys::allegro_font::ALLEGRO_FONT_VTABLE[][src]

#[repr(C)]pub struct ALLEGRO_FONT_VTABLE {
    pub font_height: Option<extern "C" fn(arg1: *const ALLEGRO_FONT) -> c_int>,
    pub font_ascent: Option<extern "C" fn(arg1: *const ALLEGRO_FONT) -> c_int>,
    pub font_descent: Option<extern "C" fn(arg1: *const ALLEGRO_FONT) -> c_int>,
    pub char_length: Option<extern "C" fn(arg1: *const ALLEGRO_FONT, arg2: c_int) -> c_int>,
    pub text_length: Option<extern "C" fn(arg1: *const ALLEGRO_FONT, arg2: *const ALLEGRO_USTR) -> c_int>,
    pub render_char: Option<extern "C" fn(arg1: *const ALLEGRO_FONT, arg2: ALLEGRO_COLOR, arg3: c_int, arg4: c_float, arg5: c_float) -> c_int>,
    pub render: Option<extern "C" fn(arg1: *const ALLEGRO_FONT, arg2: ALLEGRO_COLOR, arg3: *const ALLEGRO_USTR, arg4: c_float, arg5: c_float) -> c_int>,
    pub destroy: Option<extern "C" fn(arg1: *mut ALLEGRO_FONT)>,
    pub get_text_dimensions: Option<extern "C" fn(arg1: *const ALLEGRO_FONT, arg2: *const ALLEGRO_USTR, arg3: *mut c_int, arg4: *mut c_int, arg5: *mut c_int, arg6: *mut c_int)>,
}

Fields

font_height: Option<extern "C" fn(arg1: *const ALLEGRO_FONT) -> c_int>font_ascent: Option<extern "C" fn(arg1: *const ALLEGRO_FONT) -> c_int>font_descent: Option<extern "C" fn(arg1: *const ALLEGRO_FONT) -> c_int>char_length: Option<extern "C" fn(arg1: *const ALLEGRO_FONT, arg2: c_int) -> c_int>text_length: Option<extern "C" fn(arg1: *const ALLEGRO_FONT, arg2: *const ALLEGRO_USTR) -> c_int>render_char: Option<extern "C" fn(arg1: *const ALLEGRO_FONT, arg2: ALLEGRO_COLOR, arg3: c_int, arg4: c_float, arg5: c_float) -> c_int>render: Option<extern "C" fn(arg1: *const ALLEGRO_FONT, arg2: ALLEGRO_COLOR, arg3: *const ALLEGRO_USTR, arg4: c_float, arg5: c_float) -> c_int>destroy: Option<extern "C" fn(arg1: *mut ALLEGRO_FONT)>get_text_dimensions: Option<extern "C" fn(arg1: *const ALLEGRO_FONT, arg2: *const ALLEGRO_USTR, arg3: *mut c_int, arg4: *mut c_int, arg5: *mut c_int, arg6: *mut c_int)>

Trait Implementations

impl Clone for ALLEGRO_FONT_VTABLE[src]

impl Copy for ALLEGRO_FONT_VTABLE[src]

Auto Trait Implementations

impl RefUnwindSafe for ALLEGRO_FONT_VTABLE

impl Send for ALLEGRO_FONT_VTABLE

impl Sync for ALLEGRO_FONT_VTABLE

impl Unpin for ALLEGRO_FONT_VTABLE

impl UnwindSafe for ALLEGRO_FONT_VTABLE

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.