pub enum ShadingSource {
ShadingOperator,
Pattern,
}Expand description
Which entry point reached a shading, which decides whether /Background
is honoured.
Variants§
ShadingOperator
The sh operator, naming a /Shading resource directly.
/Background is ignored: sh paints only the shading’s own
geometry.
Pattern
A /PatternType 2 pattern wrapping the shading.
/Background is honoured, filling the pattern cell outside the
geometry.
Trait Implementations§
Source§impl Clone for ShadingSource
impl Clone for ShadingSource
Source§fn clone(&self) -> ShadingSource
fn clone(&self) -> ShadingSource
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 moreimpl Copy for ShadingSource
Source§impl Debug for ShadingSource
impl Debug for ShadingSource
impl Eq for ShadingSource
Source§impl Hash for ShadingSource
impl Hash for ShadingSource
Source§impl PartialEq for ShadingSource
impl PartialEq for ShadingSource
impl StructuralPartialEq for ShadingSource
Auto Trait Implementations§
impl Freeze for ShadingSource
impl RefUnwindSafe for ShadingSource
impl Send for ShadingSource
impl Sync for ShadingSource
impl Unpin for ShadingSource
impl UnsafeUnpin for ShadingSource
impl UnwindSafe for ShadingSource
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