pub struct Separation {
pub none: bool,
pub alternate: Option<Box<ColorSpace>>,
pub tint: Option<Arc<Function>>,
}Expand description
A Separation colorspace: one tint driving an alternate space.
Fields§
§none: boolSet when the colorant is /None, which paints nothing at all.
alternate: Option<Box<ColorSpace>>The alternate space. Absent only for /None.
tint: Option<Arc<Function>>The tint transform, shared because one function may back several spaces. Absent when it failed to load or produced too few outputs — which is not fatal here.
Implementations§
Trait Implementations§
Source§impl Clone for Separation
impl Clone for Separation
Source§fn clone(&self) -> Separation
fn clone(&self) -> Separation
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 Debug for Separation
impl Debug for Separation
Source§impl PartialEq for Separation
impl PartialEq for Separation
impl StructuralPartialEq for Separation
Auto Trait Implementations§
impl !RefUnwindSafe for Separation
impl !UnwindSafe for Separation
impl Freeze for Separation
impl Send for Separation
impl Sync for Separation
impl Unpin for Separation
impl UnsafeUnpin for Separation
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