pub enum ClassDefinition<'a> {
Format1 {
start: GlyphId,
classes: LazyArray16<'a, Class>,
},
Format2 {
records: LazyArray16<'a, RangeRecord>,
},
}
Expand description
Variants
Format1
Format2
Fields
records: LazyArray16<'a, RangeRecord>
Implementations
Trait Implementations
sourceimpl<'a> Clone for ClassDefinition<'a>
impl<'a> Clone for ClassDefinition<'a>
sourcefn clone(&self) -> ClassDefinition<'a>
fn clone(&self) -> ClassDefinition<'a>
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<'a> Debug for ClassDefinition<'a>
impl<'a> Debug for ClassDefinition<'a>
impl<'a> Copy for ClassDefinition<'a>
Auto Trait Implementations
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
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