Struct customasm::asm::parser::AstDirectiveBankdef
source · pub struct AstDirectiveBankdef {
pub header_span: Span,
pub name_span: Span,
pub name: String,
pub addr_unit: Option<Expr>,
pub label_align: Option<Expr>,
pub addr_start: Option<Expr>,
pub addr_end: Option<Expr>,
pub addr_size: Option<Expr>,
pub output_offset: Option<Expr>,
pub fill: bool,
pub item_ref: Option<ItemRef<Bankdef>>,
}
Fields§
§header_span: Span
§name_span: Span
§name: String
§addr_unit: Option<Expr>
§label_align: Option<Expr>
§addr_start: Option<Expr>
§addr_end: Option<Expr>
§addr_size: Option<Expr>
§output_offset: Option<Expr>
§fill: bool
§item_ref: Option<ItemRef<Bankdef>>
Trait Implementations§
source§impl Clone for AstDirectiveBankdef
impl Clone for AstDirectiveBankdef
source§fn clone(&self) -> AstDirectiveBankdef
fn clone(&self) -> AstDirectiveBankdef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AstDirectiveBankdef
impl RefUnwindSafe for AstDirectiveBankdef
impl !Send for AstDirectiveBankdef
impl !Sync for AstDirectiveBankdef
impl Unpin for AstDirectiveBankdef
impl UnwindSafe for AstDirectiveBankdef
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)