pub struct SbitLineMetrics {
pub ascender: i8,
pub descender: i8,
pub width_max: u8,
pub caret_slope_numerator: i8,
pub caret_slope_denominator: i8,
pub caret_offset: i8,
pub min_origin_sb: i8,
pub min_advance_sb: i8,
pub max_before_bl: i8,
pub min_after_bl: i8,
pub pad1: i8,
pub pad2: i8,
}
Fields
ascender: i8
descender: i8
width_max: u8
caret_slope_numerator: i8
caret_slope_denominator: i8
caret_offset: i8
min_origin_sb: i8
min_advance_sb: i8
max_before_bl: i8
min_after_bl: i8
pad1: i8
pad2: i8
Trait Implementations
sourceimpl Clone for SbitLineMetrics
impl Clone for SbitLineMetrics
sourcefn clone(&self) -> SbitLineMetrics
fn clone(&self) -> SbitLineMetrics
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 SbitLineMetrics
impl Debug for SbitLineMetrics
sourceimpl PartialEq<SbitLineMetrics> for SbitLineMetrics
impl PartialEq<SbitLineMetrics> for SbitLineMetrics
sourcefn eq(&self, other: &SbitLineMetrics) -> bool
fn eq(&self, other: &SbitLineMetrics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SbitLineMetrics) -> bool
fn ne(&self, other: &SbitLineMetrics) -> bool
This method tests for !=
.
sourceimpl<'a> ReadBinary<'a> for SbitLineMetrics
impl<'a> ReadBinary<'a> for SbitLineMetrics
type HostType = SbitLineMetrics
fn read(ctxt: &mut ReadCtxt<'a>) -> Result<Self, ParseError>
sourceimpl<'a> ReadFixedSizeDep<'a> for SbitLineMetrics
impl<'a> ReadFixedSizeDep<'a> for SbitLineMetrics
impl Eq for SbitLineMetrics
impl StructuralEq for SbitLineMetrics
impl StructuralPartialEq for SbitLineMetrics
Auto Trait Implementations
impl RefUnwindSafe for SbitLineMetrics
impl Send for SbitLineMetrics
impl Sync for SbitLineMetrics
impl Unpin for SbitLineMetrics
impl UnwindSafe for SbitLineMetrics
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