pub struct StepLayer {
pub input: usize,
pub blend_mode: ClipBlendMode,
pub opacity: Animated<f32>,
}Expand description
One layer of a StepOp::Merge.
Fields§
§input: usizeThe layer’s image.
blend_mode: ClipBlendModeIts blend mode.
opacity: Animated<f32>Its opacity.
Trait Implementations§
impl StructuralPartialEq for StepLayer
Auto Trait Implementations§
impl Forget for StepLayer
impl Freeze for StepLayerwhere
*const u8 is !null: Freeze,
PhantomData<Keyframe<f32>>: Freeze,
PhantomData<Animated<f32>>: Freeze,
*const DataBinding is !null: Freeze,
PhantomData<DataBinding>: Freeze,
impl Move for StepLayer
impl RefUnwindSafe for StepLayer
impl Send for StepLayer
impl Sync for StepLayer
impl Unpin for StepLayer
impl UnsafeUnpin for StepLayerwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Keyframe<f32>>: UnsafeUnpin,
PhantomData<Animated<f32>>: UnsafeUnpin,
*const DataBinding is !null: UnsafeUnpin,
PhantomData<DataBinding>: UnsafeUnpin,
impl UnwindSafe for StepLayer
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