Struct allegro_font_sys::allegro_font::ALLEGRO_FONT_VTABLE [−][src]
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]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,