[−][src]Struct tm_sys::ffi::tm_font_api
Fields
glyphs: Option<unsafe extern "C" fn(font: *const tm_font_t, glyphs: *mut u16, codepoints: *const u32, size: u32)>metrics: Option<unsafe extern "C" fn(font: *const tm_font_t, font_scale: f32, glyphs: *const u16, num_glyphs: u32) -> tm_rect_t>metrics_array: Option<unsafe extern "C" fn(font: *const tm_font_t, font_scale: f32, pos_x: *mut f32, rects: *mut tm_rect_t, glyphs: *const u16, num_glyphs: u32) -> tm_rect_t>line: Option<unsafe extern "C" fn(font: *const tm_font_t, font_scale: f32, line_width: *mut f32, glyphs: *const u16, num_glyphs: u32) -> u32>rescale_font: Option<unsafe extern "C" fn(font: *mut tm_font_t, scale_factor: f32)>glyph_set_from_scale: Option<unsafe extern "C" fn(font: *const tm_font_t, font_scale: f32, new_font_scale: *mut f32) -> u32>first_glyph_of_set: Option<unsafe extern "C" fn(font: *const tm_font_t, set: u32) -> *const tm_font_glyph_t>Trait Implementations
impl Clone for tm_font_api[src]
pub fn clone(&self) -> tm_font_api[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for tm_font_api[src]
impl Debug for tm_font_api[src]
Auto Trait Implementations
impl RefUnwindSafe for tm_font_api
impl Send for tm_font_api
impl Sync for tm_font_api
impl Unpin for tm_font_api
impl UnwindSafe for tm_font_api
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>,