Struct font_types::FWord
source · pub struct FWord(/* private fields */);
Expand description
16-bit signed quantity in font design units.
Implementations§
Trait Implementations§
source§impl Ord for FWord
impl Ord for FWord
source§impl PartialEq for FWord
impl PartialEq for FWord
source§impl PartialOrd for FWord
impl PartialOrd for FWord
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FWord
impl Eq for FWord
impl StructuralPartialEq for FWord
Auto Trait Implementations§
impl Freeze for FWord
impl RefUnwindSafe for FWord
impl Send for FWord
impl Sync for FWord
impl Unpin for FWord
impl UnwindSafe for FWord
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> FixedSize for Twhere
T: Scalar,
impl<T> FixedSize for Twhere
T: Scalar,
source§const RAW_BYTE_LEN: usize = const RAW_BYTE_LEN: usize = std::mem::size_of::<T::Raw>();
const RAW_BYTE_LEN: usize = const RAW_BYTE_LEN: usize = std::mem::size_of::<T::Raw>();
The raw size of this type, in bytes. Read more