pub struct AsPattern<'tree> {
pub span: Span,
pub alias: Option<AsPatternTarget<'tree>>,
pub children: Vec<AsPatternChildren<'tree>>,
}Fields§
§span: Span§alias: Option<AsPatternTarget<'tree>>§children: Vec<AsPatternChildren<'tree>>Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for AsPattern<'tree>
impl<'tree> RefUnwindSafe for AsPattern<'tree>
impl<'tree> Send for AsPattern<'tree>
impl<'tree> Sync for AsPattern<'tree>
impl<'tree> Unpin for AsPattern<'tree>
impl<'tree> UnsafeUnpin for AsPattern<'tree>
impl<'tree> UnwindSafe for AsPattern<'tree>
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