pub struct Colouring<'a> {
pub set: Option<&'a GraphicalSet>,
pub index: Option<&'a PackageIndex>,
pub resolver: Option<&'a ColourOf<'a>>,
}Expand description
Where a surface’s colour is looked for: the package’s sets, merged, and - when the face has it - the package’s index, for the inheritance order.
Fields§
§set: Option<&'a GraphicalSet>The package’s GraphicalInformationSets, merged.
index: Option<&'a PackageIndex>The package’s index.
resolver: Option<&'a ColourOf<'a>>The face’s resolver (crate::read::PackageContext::colour_of): asked
instead of the cascade when given.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Colouring<'a>
impl<'a> !Send for Colouring<'a>
impl<'a> !Sync for Colouring<'a>
impl<'a> !UnwindSafe for Colouring<'a>
impl<'a> Freeze for Colouring<'a>
impl<'a> Unpin for Colouring<'a>
impl<'a> UnsafeUnpin for Colouring<'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