pub struct RegisterDeclaration {
pub keyword: String,
pub ty: RegisterType,
pub registers: Vec<RegisterSpecifier>,
pub comment: Option<String>,
pub raw: String,
}Expand description
Concretely parsed .reg directive inside a function body.
Fields§
§keyword: String§ty: RegisterType§registers: Vec<RegisterSpecifier>§comment: Option<String>§raw: StringTrait Implementations§
Source§impl Clone for RegisterDeclaration
impl Clone for RegisterDeclaration
Source§fn clone(&self) -> RegisterDeclaration
fn clone(&self) -> RegisterDeclaration
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 RegisterDeclaration
impl Debug for RegisterDeclaration
Source§impl PartialEq for RegisterDeclaration
impl PartialEq for RegisterDeclaration
impl Eq for RegisterDeclaration
impl StructuralPartialEq for RegisterDeclaration
Auto Trait Implementations§
impl Freeze for RegisterDeclaration
impl RefUnwindSafe for RegisterDeclaration
impl Send for RegisterDeclaration
impl Sync for RegisterDeclaration
impl Unpin for RegisterDeclaration
impl UnwindSafe for RegisterDeclaration
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