pub struct BitmaskSwitch {
pub expr: Box<Expr>,
pub brace_token: Brace,
pub arms: Vec<BitmaskArm>,
}
Fields§
§expr: Box<Expr>
§brace_token: Brace
§arms: Vec<BitmaskArm>
Trait Implementations§
Source§impl Clone for BitmaskSwitch
impl Clone for BitmaskSwitch
Source§fn clone(&self) -> BitmaskSwitch
fn clone(&self) -> BitmaskSwitch
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 BitmaskSwitch
impl Debug for BitmaskSwitch
Source§impl Parse for BitmaskSwitch
impl Parse for BitmaskSwitch
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for BitmaskSwitch
impl RefUnwindSafe for BitmaskSwitch
impl !Send for BitmaskSwitch
impl !Sync for BitmaskSwitch
impl Unpin for BitmaskSwitch
impl UnwindSafe for BitmaskSwitch
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