pub struct SwitchExpression { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for SwitchExpression
impl Clone for SwitchExpression
Source§fn clone(&self) -> SwitchExpression
fn clone(&self) -> SwitchExpression
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 moreSource§impl Debug for SwitchExpression
impl Debug for SwitchExpression
Source§impl Default for SwitchExpression
impl Default for SwitchExpression
Source§impl From<SwitchExpression> for SwitchExpression
impl From<SwitchExpression> for SwitchExpression
Source§fn from(value: SwitchExpression) -> Self
fn from(value: SwitchExpression) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SwitchExpression> for SwitchExpression
impl TryFrom<SwitchExpression> for SwitchExpression
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SwitchExpression) -> Result<Self, ConversionError>
fn try_from(value: SwitchExpression) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SwitchExpression
impl RefUnwindSafe for SwitchExpression
impl Send for SwitchExpression
impl Sync for SwitchExpression
impl Unpin for SwitchExpression
impl UnwindSafe for SwitchExpression
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