pub enum AddressSize {
Size32 {
span: Span,
},
Size64 {
span: Span,
},
}Expand description
Address size options for the .address_size directive.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AddressSize
impl Clone for AddressSize
Source§fn clone(&self) -> AddressSize
fn clone(&self) -> AddressSize
Returns a duplicate 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 moreSource§impl Debug for AddressSize
impl Debug for AddressSize
Source§impl PartialEq for AddressSize
impl PartialEq for AddressSize
Source§impl PtxParser for AddressSize
impl PtxParser for AddressSize
Source§fn parse() -> impl Fn(&mut PtxTokenStream<'_>) -> Result<(Self, Span), PtxParseError>
fn parse() -> impl Fn(&mut PtxTokenStream<'_>) -> Result<(Self, Span), PtxParseError>
Returns a parser function that can parse an instance of
Self.Source§impl Spanned for AddressSize
impl Spanned for AddressSize
Source§impl TreeDisplay for AddressSize
impl TreeDisplay for AddressSize
Source§fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
Display this node in tree format. Read more
impl StructuralPartialEq for AddressSize
Auto Trait Implementations§
impl Freeze for AddressSize
impl RefUnwindSafe for AddressSize
impl Send for AddressSize
impl Sync for AddressSize
impl Unpin for AddressSize
impl UnwindSafe for AddressSize
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