pub struct ShadingObject {
pub shading: Arc<Shading>,
pub matrix: Affine,
pub bounds: Rect,
}Expand description
A shading painted directly by sh.
Fields§
§shading: Arc<Shading>The shading.
matrix: AffineThe matrix taking it to the page.
bounds: RectThe area it paints, which the clip and, for meshes, the mesh’s own extent bound.
Trait Implementations§
Source§impl Clone for ShadingObject
impl Clone for ShadingObject
Source§fn clone(&self) -> ShadingObject
fn clone(&self) -> ShadingObject
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 ShadingObject
impl Debug for ShadingObject
Source§impl PartialEq for ShadingObject
impl PartialEq for ShadingObject
impl StructuralPartialEq for ShadingObject
Auto Trait Implementations§
impl !RefUnwindSafe for ShadingObject
impl !UnwindSafe for ShadingObject
impl Freeze for ShadingObject
impl Send for ShadingObject
impl Sync for ShadingObject
impl Unpin for ShadingObject
impl UnsafeUnpin for ShadingObject
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