pub enum SwitchStatementHitPolicy {
First,
Collect,
}Variants§
Trait Implementations§
source§impl Clone for SwitchStatementHitPolicy
impl Clone for SwitchStatementHitPolicy
source§fn clone(&self) -> SwitchStatementHitPolicy
fn clone(&self) -> SwitchStatementHitPolicy
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 SwitchStatementHitPolicy
impl Debug for SwitchStatementHitPolicy
source§impl Default for SwitchStatementHitPolicy
impl Default for SwitchStatementHitPolicy
source§fn default() -> SwitchStatementHitPolicy
fn default() -> SwitchStatementHitPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SwitchStatementHitPolicy
impl<'de> Deserialize<'de> for SwitchStatementHitPolicy
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SwitchStatementHitPolicy
impl PartialEq for SwitchStatementHitPolicy
source§fn eq(&self, other: &SwitchStatementHitPolicy) -> bool
fn eq(&self, other: &SwitchStatementHitPolicy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SwitchStatementHitPolicy
impl Serialize for SwitchStatementHitPolicy
impl StructuralPartialEq for SwitchStatementHitPolicy
Auto Trait Implementations§
impl RefUnwindSafe for SwitchStatementHitPolicy
impl Send for SwitchStatementHitPolicy
impl Sync for SwitchStatementHitPolicy
impl Unpin for SwitchStatementHitPolicy
impl UnwindSafe for SwitchStatementHitPolicy
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