Struct lc3_ensemble::ast::Label
source · pub struct Label {
pub name: String,
/* private fields */
}Expand description
A label.
Alongside storing the name of the label, this struct also keeps track of where the label is in the assembly source code.
Fields§
§name: StringThe label’s identifier
Implementations§
Trait Implementations§
source§impl PartialEq for Label
impl PartialEq for Label
source§impl TokenParse for Label
impl TokenParse for Label
impl Eq for Label
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl Freeze for Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnwindSafe for Label
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