Struct freetype_sys::FT_SfntName
source · [−]#[repr(C)]pub struct FT_SfntName {
pub platform_id: FT_UShort,
pub encoding_id: FT_UShort,
pub language_id: FT_UShort,
pub name_id: FT_UShort,
pub string: *mut FT_Byte,
pub string_len: FT_UInt,
}
Fields
platform_id: FT_UShort
encoding_id: FT_UShort
language_id: FT_UShort
name_id: FT_UShort
string: *mut FT_Byte
string_len: FT_UInt
Trait Implementations
sourceimpl Clone for FT_SfntName
impl Clone for FT_SfntName
sourcefn clone(&self) -> FT_SfntName
fn clone(&self) -> FT_SfntName
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 more
sourceimpl Debug for FT_SfntName
impl Debug for FT_SfntName
sourceimpl Hash for FT_SfntName
impl Hash for FT_SfntName
sourceimpl PartialEq<FT_SfntName> for FT_SfntName
impl PartialEq<FT_SfntName> for FT_SfntName
sourcefn eq(&self, other: &FT_SfntName) -> bool
fn eq(&self, other: &FT_SfntName) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FT_SfntName) -> bool
fn ne(&self, other: &FT_SfntName) -> bool
This method tests for !=
.
impl Copy for FT_SfntName
impl Eq for FT_SfntName
impl StructuralEq for FT_SfntName
impl StructuralPartialEq for FT_SfntName
Auto Trait Implementations
impl RefUnwindSafe for FT_SfntName
impl !Send for FT_SfntName
impl !Sync for FT_SfntName
impl Unpin for FT_SfntName
impl UnwindSafe for FT_SfntName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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