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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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