pub struct Pass {
pub kind: PassKind,
pub node: NodeId,
pub items: u32,
pub depth: u32,
pub opacity: f64,
pub blend: &'static str,
pub filtered: bool,
}Expand description
One pass in topological order: contents before the composite that uses them.
Fields§
§kind: PassKindVector or composite.
node: NodeIdNode that opened the layer. The root vector pass uses the view.
items: u32Draw items this pass owns. A composite counts the items inside it.
depth: u32Nesting. 0 is the frame.
opacity: f64Layer opacity. 1 for a vector pass.
blend: &'static strLayer blend. "normal" for a vector pass.
filtered: boolThe layer blurs, clips or casts a shadow.
Trait Implementations§
impl StructuralPartialEq for Pass
Auto Trait Implementations§
impl Freeze for Pass
impl RefUnwindSafe for Pass
impl Send for Pass
impl Sync for Pass
impl Unpin for Pass
impl UnsafeUnpin for Pass
impl UnwindSafe for Pass
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