pub struct Effect {
pub parent: Option<Id>,
pub clip: Id,
pub transform: Id,
pub blend: Blend,
pub bounds: Option<BezPath>,
}Expand description
A layer: its blend, the bound nothing in it reaches — in its transform’s
coordinates, or, when None, the whole area being painted — and the clip
it is drawn inside.
Fields§
§parent: Option<Id>The layer it lies inside; None at the root.
clip: IdThe clip it is drawn inside.
transform: IdThe transform node whose coordinates bounds is in.
blend: BlendHow it meets what is under it.
bounds: Option<BezPath>The bound nothing in it reaches; None for the whole area being
painted.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Effect
impl Freeze for Effect
impl Move for Effect
impl RefUnwindSafe for Effect
impl Send for Effectwhere
RawVecInner: Send,
impl Sync for Effectwhere
RawVecInner: Sync,
impl Unpin for Effect
impl UnsafeUnpin for Effect
impl UnwindSafe for Effectwhere
RawVecInner: UnwindSafe,
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