Enum ttf_parser::tables::cff::index::OffsetSize
source · pub enum OffsetSize {
Size1 = 1,
Size2 = 2,
Size3 = 3,
Size4 = 4,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for OffsetSize
impl Clone for OffsetSize
source§fn clone(&self) -> OffsetSize
fn clone(&self) -> OffsetSize
Returns a copy 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 OffsetSize
impl Debug for OffsetSize
source§impl FromData for OffsetSize
impl FromData for OffsetSize
source§impl PartialEq for OffsetSize
impl PartialEq for OffsetSize
source§fn eq(&self, other: &OffsetSize) -> bool
fn eq(&self, other: &OffsetSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OffsetSize
impl Eq for OffsetSize
impl StructuralPartialEq for OffsetSize
Auto Trait Implementations§
impl Freeze for OffsetSize
impl RefUnwindSafe for OffsetSize
impl Send for OffsetSize
impl Sync for OffsetSize
impl Unpin for OffsetSize
impl UnwindSafe for OffsetSize
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