Struct sway_parse::expr::asm::AsmRegisterDeclaration
source · [−]pub struct AsmRegisterDeclaration {
pub register: Ident,
pub value_opt: Option<(ColonToken, Box<Expr>)>,
}Fields
register: Identvalue_opt: Option<(ColonToken, Box<Expr>)>Trait Implementations
sourceimpl Clone for AsmRegisterDeclaration
impl Clone for AsmRegisterDeclaration
sourcefn clone(&self) -> AsmRegisterDeclaration
fn clone(&self) -> AsmRegisterDeclaration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AsmRegisterDeclaration
impl Debug for AsmRegisterDeclaration
sourceimpl Parse for AsmRegisterDeclaration
impl Parse for AsmRegisterDeclaration
fn parse(parser: &mut Parser<'_, '_>) -> ParseResult<AsmRegisterDeclaration>
Auto Trait Implementations
impl RefUnwindSafe for AsmRegisterDeclaration
impl Send for AsmRegisterDeclaration
impl Sync for AsmRegisterDeclaration
impl Unpin for AsmRegisterDeclaration
impl UnwindSafe for AsmRegisterDeclaration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more