pub struct ClipCommand {
pub transform: Affine,
pub clip: BezPath,
}Expand description
Pushes a new clip layer clipped by the specified shape. Every drawing command after this call will be clipped by the shape until the layer is popped. However, the transforms are not saved or modified by the layer stack.
Fields§
§transform: Affine§clip: BezPathTrait Implementations§
Source§impl Clone for ClipCommand
impl Clone for ClipCommand
Source§fn clone(&self) -> ClipCommand
fn clone(&self) -> ClipCommand
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 ClipCommand
impl Debug for ClipCommand
Source§impl PartialEq for ClipCommand
impl PartialEq for ClipCommand
impl StructuralPartialEq for ClipCommand
Auto Trait Implementations§
impl Freeze for ClipCommand
impl RefUnwindSafe for ClipCommand
impl Send for ClipCommand
impl Sync for ClipCommand
impl Unpin for ClipCommand
impl UnsafeUnpin for ClipCommand
impl UnwindSafe for ClipCommand
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