pub enum Target<'a> {
Name(&'a str),
Tuple(Vec<&'a str>, Vec<Target<'a>>),
Struct(Vec<&'a str>, Vec<(&'a str, Target<'a>)>),
NumLit(&'a str),
StrLit(&'a str),
CharLit(&'a str),
BoolLit(&'a str),
Path(Vec<&'a str>),
OrChain(Vec<Target<'a>>),
}
Variants§
Name(&'a str)
Tuple(Vec<&'a str>, Vec<Target<'a>>)
Struct(Vec<&'a str>, Vec<(&'a str, Target<'a>)>)
NumLit(&'a str)
StrLit(&'a str)
CharLit(&'a str)
BoolLit(&'a str)
Path(Vec<&'a str>)
OrChain(Vec<Target<'a>>)
Trait Implementations§
impl<'a> StructuralPartialEq for Target<'a>
Auto Trait Implementations§
impl<'a> Freeze for Target<'a>
impl<'a> RefUnwindSafe for Target<'a>
impl<'a> Send for Target<'a>
impl<'a> Sync for Target<'a>
impl<'a> Unpin for Target<'a>
impl<'a> UnwindSafe for Target<'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