pub struct ShadingPattern {
pub shading: Arc<Shading>,
pub matrix: Affine,
pub ext_g_state: Option<Dict>,
}Expand description
A /PatternType 2 pattern: a shading plus the matrix placing it.
Fields§
§shading: Arc<Shading>The shading itself.
matrix: AffineThe pattern’s own space composed with the parent matrix.
ext_g_state: Option<Dict>The pattern’s /ExtGState, which a shading pattern may carry.
Trait Implementations§
Source§impl Clone for ShadingPattern
impl Clone for ShadingPattern
Source§fn clone(&self) -> ShadingPattern
fn clone(&self) -> ShadingPattern
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 ShadingPattern
impl Debug for ShadingPattern
Source§impl PartialEq for ShadingPattern
impl PartialEq for ShadingPattern
impl StructuralPartialEq for ShadingPattern
Auto Trait Implementations§
impl !RefUnwindSafe for ShadingPattern
impl !UnwindSafe for ShadingPattern
impl Freeze for ShadingPattern
impl Send for ShadingPattern
impl Sync for ShadingPattern
impl Unpin for ShadingPattern
impl UnsafeUnpin for ShadingPattern
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