Struct customasm::asm::parser::AstDirectiveRuledef
source · pub struct AstDirectiveRuledef {
pub header_span: Span,
pub name_span: Span,
pub is_subruledef: bool,
pub name: Option<String>,
pub rules: Vec<AstRule>,
pub item_ref: Option<ItemRef<Ruledef>>,
}
Fields§
§header_span: Span
§name_span: Span
§is_subruledef: bool
§name: Option<String>
§rules: Vec<AstRule>
§item_ref: Option<ItemRef<Ruledef>>
Trait Implementations§
source§impl Clone for AstDirectiveRuledef
impl Clone for AstDirectiveRuledef
source§fn clone(&self) -> AstDirectiveRuledef
fn clone(&self) -> AstDirectiveRuledef
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 AstDirectiveRuledef
impl RefUnwindSafe for AstDirectiveRuledef
impl !Send for AstDirectiveRuledef
impl !Sync for AstDirectiveRuledef
impl Unpin for AstDirectiveRuledef
impl UnwindSafe for AstDirectiveRuledef
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