pub enum AddFxBehavior {
AddIfNotFound,
AlwaysAdd,
}
Expand description
Determines the behavior when adding an FX.
Variants§
AddIfNotFound
Adds the FX only if it hasn’t been found in the FX chain.
AlwaysAdd
Adds the FX even if it already exists in the FX chain.
Trait Implementations§
Source§impl Clone for AddFxBehavior
impl Clone for AddFxBehavior
Source§fn clone(&self) -> AddFxBehavior
fn clone(&self) -> AddFxBehavior
Returns a copy 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 moreSource§impl Debug for AddFxBehavior
impl Debug for AddFxBehavior
Source§impl Hash for AddFxBehavior
impl Hash for AddFxBehavior
Source§impl PartialEq for AddFxBehavior
impl PartialEq for AddFxBehavior
impl Copy for AddFxBehavior
impl Eq for AddFxBehavior
impl StructuralPartialEq for AddFxBehavior
Auto Trait Implementations§
impl Freeze for AddFxBehavior
impl RefUnwindSafe for AddFxBehavior
impl Send for AddFxBehavior
impl Sync for AddFxBehavior
impl Unpin for AddFxBehavior
impl UnwindSafe for AddFxBehavior
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