Enum read_fonts::traversal::OffsetType
source · [−]Expand description
Any offset type.
Variants
Offset16(u16)
Offset24(Uint24)
Offset32(u32)
Implementations
sourceimpl OffsetType
impl OffsetType
Trait Implementations
sourceimpl Clone for OffsetType
impl Clone for OffsetType
sourcefn clone(&self) -> OffsetType
fn clone(&self) -> OffsetType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Display for OffsetType
impl Display for OffsetType
sourceimpl<T: Into<OffsetType> + Clone> From<Nullable<T>> for OffsetType
impl<T: Into<OffsetType> + Clone> From<Nullable<T>> for OffsetType
sourceimpl From<Offset16> for OffsetType
impl From<Offset16> for OffsetType
sourcefn from(src: Offset16) -> OffsetType
fn from(src: Offset16) -> OffsetType
Converts to this type from the input type.
sourceimpl From<Offset24> for OffsetType
impl From<Offset24> for OffsetType
sourcefn from(src: Offset24) -> OffsetType
fn from(src: Offset24) -> OffsetType
Converts to this type from the input type.
sourceimpl From<Offset32> for OffsetType
impl From<Offset32> for OffsetType
sourcefn from(src: Offset32) -> OffsetType
fn from(src: Offset32) -> OffsetType
Converts to this type from the input type.
impl Copy for OffsetType
Auto Trait Implementations
impl RefUnwindSafe for OffsetType
impl Send for OffsetType
impl Sync for OffsetType
impl Unpin for OffsetType
impl UnwindSafe for OffsetType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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