pub enum DecayMatchMode {
Exact,
Contains,
}Expand description
Matching mode for decay-product filters.
Variants§
Exact
Require a decay mode whose outgoing products exactly match the requested states.
Contains
Require a decay mode containing all requested states, allowing additional products.
Trait Implementations§
Source§impl Clone for DecayMatchMode
impl Clone for DecayMatchMode
Source§fn clone(&self) -> DecayMatchMode
fn clone(&self) -> DecayMatchMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecayMatchMode
Source§impl Debug for DecayMatchMode
impl Debug for DecayMatchMode
Source§impl Default for DecayMatchMode
impl Default for DecayMatchMode
Source§fn default() -> DecayMatchMode
fn default() -> DecayMatchMode
Returns the “default value” for a type. Read more
impl Eq for DecayMatchMode
Source§impl PartialEq for DecayMatchMode
impl PartialEq for DecayMatchMode
Source§fn eq(&self, other: &DecayMatchMode) -> bool
fn eq(&self, other: &DecayMatchMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecayMatchMode
Auto Trait Implementations§
impl Freeze for DecayMatchMode
impl RefUnwindSafe for DecayMatchMode
impl Send for DecayMatchMode
impl Sync for DecayMatchMode
impl Unpin for DecayMatchMode
impl UnsafeUnpin for DecayMatchMode
impl UnwindSafe for DecayMatchMode
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