pub enum ClassDefinition<'a> {
Format1 {
start: GlyphId,
classes: LazyArray16<'a, u16>,
},
Format2 {
records: LazyArray16<'a, RangeRecord>,
},
Empty,
}
Expand description
Variants§
Implementations§
Trait Implementations§
source§impl<'a> Clone for ClassDefinition<'a>
impl<'a> Clone for ClassDefinition<'a>
source§fn clone(&self) -> ClassDefinition<'a>
fn clone(&self) -> ClassDefinition<'a>
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<'a> Debug for ClassDefinition<'a>
impl<'a> Debug for ClassDefinition<'a>
impl<'a> Copy for ClassDefinition<'a>
Auto Trait Implementations§
impl<'a> Freeze for ClassDefinition<'a>
impl<'a> RefUnwindSafe for ClassDefinition<'a>
impl<'a> Send for ClassDefinition<'a>
impl<'a> Sync for ClassDefinition<'a>
impl<'a> Unpin for ClassDefinition<'a>
impl<'a> UnwindSafe for ClassDefinition<'a>
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