Struct dusk_dire::hir::SwitchCase
source · [−]pub struct SwitchCase {
pub pattern: Pattern,
pub scope: ImperScopeId,
pub scope_range: SourceRange,
}
Fields
pattern: Pattern
scope: ImperScopeId
scope_range: SourceRange
Trait Implementations
sourceimpl Clone for SwitchCase
impl Clone for SwitchCase
sourcefn clone(&self) -> SwitchCase
fn clone(&self) -> SwitchCase
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for SwitchCase
impl Send for SwitchCase
impl Sync for SwitchCase
impl Unpin for SwitchCase
impl UnwindSafe for SwitchCase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more