pub(crate) struct ColrTables<'a> {
pub(crate) colr: Colr<'a>,
pub(crate) index_map: Option<DeltaSetIndexMap<'a>>,
pub(crate) var_store: Option<ItemVariationStore<'a>>,
}Expand description
The COLR table and the variation tables its paints use.
Fields§
§colr: Colr<'a>§index_map: Option<DeltaSetIndexMap<'a>>§var_store: Option<ItemVariationStore<'a>>Implementations§
Source§impl<'a> ColrTables<'a>
impl<'a> ColrTables<'a>
Trait Implementations§
Source§impl<'a> Clone for ColrTables<'a>
impl<'a> Clone for ColrTables<'a>
Source§fn clone(&self) -> ColrTables<'a>
fn clone(&self) -> ColrTables<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'yoke> Yokeable<'yoke> for ColrTables<'static>
impl<'yoke> Yokeable<'yoke> for ColrTables<'static>
Source§type Output = ColrTables<'yoke>
type Output = ColrTables<'yoke>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for ColrTables<'a>
impl<'a> RefUnwindSafe for ColrTables<'a>
impl<'a> Send for ColrTables<'a>
impl<'a> Sync for ColrTables<'a>
impl<'a> Unpin for ColrTables<'a>
impl<'a> UnsafeUnpin for ColrTables<'a>
impl<'a> UnwindSafe for ColrTables<'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