pub struct Layer {
pub gid: GlyphId,
pub palette_index: Option<u16>,
}Expand description
Single layer in a color outline.
Fields§
§gid: GlyphIdGlyph that contains the outline for the layer.
palette_index: Option<u16>Index value to use with the selected color palette.
Trait Implementations§
Source§impl ReadData for Layer
impl ReadData for Layer
impl Copy for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
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