pub struct PushLayerCommand {
pub clip_path: Option<BezPath>,
pub blend_mode: Option<BlendMode>,
pub opacity: Option<f32>,
pub mask: Option<Mask>,
}
Expand description
Command for pushing a new layer.
Fields§
§clip_path: Option<BezPath>
Clip path.
blend_mode: Option<BlendMode>
Blend mode.
opacity: Option<f32>
Opacity.
mask: Option<Mask>
Mask.
Trait Implementations§
Source§impl Clone for PushLayerCommand
impl Clone for PushLayerCommand
Source§fn clone(&self) -> PushLayerCommand
fn clone(&self) -> PushLayerCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PushLayerCommand
impl RefUnwindSafe for PushLayerCommand
impl Send for PushLayerCommand
impl Sync for PushLayerCommand
impl Unpin for PushLayerCommand
impl UnwindSafe for PushLayerCommand
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