pub struct StatementSectionDirective {
pub name: String,
pub arguments: Vec<String>,
pub comment: Option<String>,
pub span: Range<usize>,
}Expand description
Structured representation of a .section directive inside a function body.
Fields§
§name: String§arguments: Vec<String>§comment: Option<String>§span: Range<usize>Implementations§
Trait Implementations§
Source§impl Clone for StatementSectionDirective
impl Clone for StatementSectionDirective
Source§fn clone(&self) -> StatementSectionDirective
fn clone(&self) -> StatementSectionDirective
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 StatementSectionDirective
impl Debug for StatementSectionDirective
impl StructuralPartialEq for StatementSectionDirective
Auto Trait Implementations§
impl Freeze for StatementSectionDirective
impl RefUnwindSafe for StatementSectionDirective
impl Send for StatementSectionDirective
impl Sync for StatementSectionDirective
impl Unpin for StatementSectionDirective
impl UnwindSafe for StatementSectionDirective
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