Struct font_types::Offset16
source · pub struct Offset16(/* private fields */);
Expand description
A16-bit offset to a table.
Specific offset fields may or may not permit NULL values; however we
assume that errors are possible, and expect the caller to handle
the None
case.
Implementations§
Trait Implementations§
source§impl Ord for Offset16
impl Ord for Offset16
source§impl PartialEq for Offset16
impl PartialEq for Offset16
source§impl PartialOrd for Offset16
impl PartialOrd for Offset16
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 Offset16
impl Eq for Offset16
impl StructuralPartialEq for Offset16
Auto Trait Implementations§
impl Freeze for Offset16
impl RefUnwindSafe for Offset16
impl Send for Offset16
impl Sync for Offset16
impl Unpin for Offset16
impl UnwindSafe for Offset16
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