pub struct AlignmentDef {
pub span: Span,
pub alignment: usize,
pub leading_trivia: Vec<TriviaToken>,
}Expand description
define alignment=4; — the byte granularity instructions start on.
Fields§
§span: SpanSpan of the whole define alignment=...; statement.
alignment: usizeInstruction alignment in bytes. Defaults to 1 if the value is missing.
leading_trivia: Vec<TriviaToken>Whitespace and comments between the previous item and this one, kept so the formatter can reprint them.
Trait Implementations§
Source§impl Clone for AlignmentDef
impl Clone for AlignmentDef
Auto Trait Implementations§
impl Freeze for AlignmentDef
impl RefUnwindSafe for AlignmentDef
impl Send for AlignmentDef
impl Sync for AlignmentDef
impl Unpin for AlignmentDef
impl UnsafeUnpin for AlignmentDef
impl UnwindSafe for AlignmentDef
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