pub enum FunctionCode<'a> {
Label {
label: Loc<Label<'a>>,
colon_token: Loc<()>,
comment: Option<Loc<&'a str>>,
},
Instruction {
inner: Loc<Instruction<'a>>,
comment: Option<Loc<&'a str>>,
},
Comment(Loc<&'a str>),
EmptyLine(Loc<()>),
}
Variants§
Auto Trait Implementations§
impl<'a> Freeze for FunctionCode<'a>
impl<'a> RefUnwindSafe for FunctionCode<'a>
impl<'a> Send for FunctionCode<'a>
impl<'a> Sync for FunctionCode<'a>
impl<'a> Unpin for FunctionCode<'a>
impl<'a> UnwindSafe for FunctionCode<'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