pub struct LabelStat<'a> {
pub preceding: TokenReference<'a>,
pub name: Name<'a>,
pub following: TokenReference<'a>,
}Expand description
A label statement.
Fields§
§preceding: TokenReference<'a>A reference to the preceding Symbol::DoubleColon token.
name: Name<'a>The label name.
following: TokenReference<'a>A reference to the following Symbol::DoubleColon token.
Trait Implementations§
Source§impl<'a> AstDescend<'a> for LabelStat<'a>
impl<'a> AstDescend<'a> for LabelStat<'a>
fn descend_mut<T: VisitorMut<'a>>(&mut self, visitor: &mut T)
Auto Trait Implementations§
impl<'a> Freeze for LabelStat<'a>
impl<'a> RefUnwindSafe for LabelStat<'a>
impl<'a> Send for LabelStat<'a>
impl<'a> Sync for LabelStat<'a>
impl<'a> Unpin for LabelStat<'a>
impl<'a> UnwindSafe for LabelStat<'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