pub struct LabelFlags {
pub defined_in_file: bool,
pub is_extern: bool,
pub global: bool,
pub aligned: bool,
pub align_to: Option<Box<Node>>,
pub export: bool,
}Expand description
Holds the flags recorded for one label.
Fields§
§defined_in_file: boolWhether the label is defined in this file.
is_extern: boolWhether the label is an unresolved extern reference.
global: boolWhether the label was declared global.
aligned: boolWhether the label keeps default alignment.
align_to: Option<Box<Node>>The explicit alignment target, when declared.
export: boolWhether the label was declared a global export.
Trait Implementations§
Source§impl Clone for LabelFlags
impl Clone for LabelFlags
Auto Trait Implementations§
impl !Send for LabelFlags
impl !Sync for LabelFlags
impl Forget for LabelFlags
impl Freeze for LabelFlags
impl Move for LabelFlags
impl RefUnwindSafe for LabelFlags
impl Unpin for LabelFlags
impl UnsafeUnpin for LabelFlags
impl UnwindSafe for LabelFlags
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