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: i8Trait Implementations§
Source§impl Clone for SbitLineMetrics
impl Clone for SbitLineMetrics
Source§fn clone(&self) -> SbitLineMetrics
fn clone(&self) -> SbitLineMetrics
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 Debug for SbitLineMetrics
impl Debug for SbitLineMetrics
Source§impl PartialEq for SbitLineMetrics
impl PartialEq for SbitLineMetrics
Source§impl ReadBinary for SbitLineMetrics
impl ReadBinary for SbitLineMetrics
type HostType<'b> = SbitLineMetrics
fn read<'a>(ctxt: &mut ReadCtxt<'a>) -> Result<Self, ParseError>
Source§impl ReadFixedSizeDep for SbitLineMetrics
impl ReadFixedSizeDep for SbitLineMetrics
impl Eq for SbitLineMetrics
impl StructuralPartialEq for SbitLineMetrics
Auto Trait Implementations§
impl Freeze for SbitLineMetrics
impl RefUnwindSafe for SbitLineMetrics
impl Send for SbitLineMetrics
impl Sync for SbitLineMetrics
impl Unpin for SbitLineMetrics
impl UnwindSafe for SbitLineMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more