Expand description
A box pattern: box v.
This type is available only if Syn is built with the "full" feature.
Fields
attrs: Vec<Attribute>box_token: Boxpat: Box<Pat>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PatBox
impl !Send for PatBox
impl !Sync for PatBox
impl Unpin for PatBox
impl UnwindSafe for PatBox
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