Enum StackingMode
#[repr(i32)]pub enum StackingMode {
Chained = 0,
Layered = 1,
}Expand description
Defines the stacking modes you can apply to child effects.
Variants§
Chained = 0
Child effect uses as its input the result of a previous effect, the combined result of a sequence of layered effects, or the node content. The next effect uses as its input the result of this effect.
Layered = 1
Child effect uses as its input either the result of a previous chained effect or the node content. A sequence of layered effects are combined on top of each other in layers.
Implementations§
§impl StackingMode
impl StackingMode
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> StackingMode
Trait Implementations§
§impl Clone for StackingMode
impl Clone for StackingMode
§fn clone(&self) -> StackingMode
fn clone(&self) -> StackingMode
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 more§impl Debug for StackingMode
impl Debug for StackingMode
§impl Display for StackingMode
impl Display for StackingMode
§impl PartialEq for StackingMode
impl PartialEq for StackingMode
§impl VariantConstraint for StackingMode
impl VariantConstraint for StackingMode
§type DataArg<'a> = StackingMode
type DataArg<'a> = StackingMode
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = StackingMode
type RetArg = StackingMode
§fn as_arg(&self) -> <StackingMode as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <StackingMode as VariantConstraint>::DataArg<'_>
impl Copy for StackingMode
impl Eq for StackingMode
impl PropertyTypeConstraint for StackingMode
impl StructuralPartialEq for StackingMode
Auto Trait Implementations§
impl Freeze for StackingMode
impl RefUnwindSafe for StackingMode
impl Send for StackingMode
impl Sync for StackingMode
impl Unpin for StackingMode
impl UnwindSafe for StackingMode
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