#[repr(C)]pub struct FontDescriptorT {
pub path: *const c_char,
pub ttf_data: *const c_char,
pub ttf_data_bytes: u64,
pub num_ranges: u32,
pub font_index: u32,
pub ranges: *const TtfRangeT,
}
Fields§
§path: *const c_char
§ttf_data: *const c_char
§ttf_data_bytes: u64
§num_ranges: u32
§font_index: u32
§ranges: *const TtfRangeT
Trait Implementations§
Source§impl Clone for FontDescriptorT
impl Clone for FontDescriptorT
Source§fn clone(&self) -> FontDescriptorT
fn clone(&self) -> FontDescriptorT
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for FontDescriptorT
impl Default for FontDescriptorT
impl Copy for FontDescriptorT
Auto Trait Implementations§
impl Freeze for FontDescriptorT
impl RefUnwindSafe for FontDescriptorT
impl !Send for FontDescriptorT
impl !Sync for FontDescriptorT
impl Unpin for FontDescriptorT
impl UnwindSafe for FontDescriptorT
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more