Struct ttf_parser::tables::colr::LayerRecord
source · struct LayerRecord {
glyph_id: GlyphId,
palette_index: u16,
}
Expand description
A layer.
Fields§
§glyph_id: GlyphId
§palette_index: u16
Trait Implementations§
source§impl Clone for LayerRecord
impl Clone for LayerRecord
source§fn clone(&self) -> LayerRecord
fn clone(&self) -> LayerRecord
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 LayerRecord
impl Debug for LayerRecord
source§impl FromData for LayerRecord
impl FromData for LayerRecord
impl Copy for LayerRecord
Auto Trait Implementations§
impl Freeze for LayerRecord
impl RefUnwindSafe for LayerRecord
impl Send for LayerRecord
impl Sync for LayerRecord
impl Unpin for LayerRecord
impl UnwindSafe for LayerRecord
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