pub enum DollarShape<'a> {
Qualified {
alias: &'a str,
name: &'a str,
keys: Vec<String>,
},
Bare(&'a str),
}Expand description
Single owner for $ shape split: qualified $A::B[.k] vs bare
$rest. Both placeholder and arg classifiers route here, then
re-route malformed qualified tails (see
is_malformed_dollar_qualified) to their invalid arms, so a new
$ shape lands once.
Variants§
Auto Trait Implementations§
impl<'a> Forget for DollarShape<'a>
impl<'a> Freeze for DollarShape<'a>
impl<'a> Move for DollarShape<'a>
impl<'a> RefUnwindSafe for DollarShape<'a>
impl<'a> Send for DollarShape<'a>
impl<'a> Sync for DollarShape<'a>where
RawVecInner: Sync,
impl<'a> Unpin for DollarShape<'a>
impl<'a> UnsafeUnpin for DollarShape<'a>
impl<'a> UnwindSafe for DollarShape<'a>
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