#[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
sourceimpl Clone for ALLEGRO_FONT_VTABLE
impl Clone for ALLEGRO_FONT_VTABLE
impl Copy for ALLEGRO_FONT_VTABLE
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more