pub struct Part {
pub capture: Capture,
pub part: Atom,
}
Expand description
Part ::= (Pat ':')? '@'? ('&' | '!')? Atom ('*' | '+' | '?')?
Fields§
§capture: Capture
§part: Atom
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Part
impl RefUnwindSafe for Part
impl !Send for Part
impl !Sync for Part
impl Unpin for Part
impl UnwindSafe for Part
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