Struct rute::auto::font_info_ffi::RUFontInfoFuncs
source · #[repr(C)]pub struct RUFontInfoFuncs {Show 15 fields
pub swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase),
pub family: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub style_name: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub pixel_size: extern "C" fn(self_c: *const RUBase) -> i32,
pub point_size: extern "C" fn(self_c: *const RUBase) -> i32,
pub point_size_f: extern "C" fn(self_c: *const RUBase) -> f32,
pub italic: extern "C" fn(self_c: *const RUBase) -> bool,
pub weight: extern "C" fn(self_c: *const RUBase) -> i32,
pub bold: extern "C" fn(self_c: *const RUBase) -> bool,
pub underline: extern "C" fn(self_c: *const RUBase) -> bool,
pub overline: extern "C" fn(self_c: *const RUBase) -> bool,
pub fixed_pitch: extern "C" fn(self_c: *const RUBase) -> bool,
pub style_hint: extern "C" fn(self_c: *const RUBase) -> u32,
pub raw_mode: extern "C" fn(self_c: *const RUBase) -> bool,
pub exact_match: extern "C" fn(self_c: *const RUBase) -> bool,
}
Fields
swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase)
family: extern "C" fn(self_c: *const RUBase) -> *const c_char
style_name: extern "C" fn(self_c: *const RUBase) -> *const c_char
pixel_size: extern "C" fn(self_c: *const RUBase) -> i32
point_size: extern "C" fn(self_c: *const RUBase) -> i32
point_size_f: extern "C" fn(self_c: *const RUBase) -> f32
italic: extern "C" fn(self_c: *const RUBase) -> bool
weight: extern "C" fn(self_c: *const RUBase) -> i32
bold: extern "C" fn(self_c: *const RUBase) -> bool
underline: extern "C" fn(self_c: *const RUBase) -> bool
overline: extern "C" fn(self_c: *const RUBase) -> bool
fixed_pitch: extern "C" fn(self_c: *const RUBase) -> bool
style_hint: extern "C" fn(self_c: *const RUBase) -> u32
raw_mode: extern "C" fn(self_c: *const RUBase) -> bool
exact_match: extern "C" fn(self_c: *const RUBase) -> bool
Trait Implementations
sourceimpl Clone for RUFontInfoFuncs
impl Clone for RUFontInfoFuncs
sourcefn clone(&self) -> RUFontInfoFuncs
fn clone(&self) -> RUFontInfoFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUFontInfoFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUFontInfoFuncs
impl Send for RUFontInfoFuncs
impl Sync for RUFontInfoFuncs
impl Unpin for RUFontInfoFuncs
impl UnwindSafe for RUFontInfoFuncs
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