pub struct SectionDirective {
pub name: String,
pub attributes: Vec<String>,
pub span: Range<usize>,
}Expand description
Structured representation of the .section directive.
Fields§
§name: String§attributes: Vec<String>§span: Range<usize>Implementations§
Trait Implementations§
Source§impl Clone for SectionDirective
impl Clone for SectionDirective
Source§fn clone(&self) -> SectionDirective
fn clone(&self) -> SectionDirective
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 SectionDirective
impl Debug for SectionDirective
Source§impl PartialEq for SectionDirective
impl PartialEq for SectionDirective
Source§impl PtxParser for SectionDirective
impl PtxParser for SectionDirective
Source§fn parse(stream: &mut PtxTokenStream<'_>) -> Result<Self, PtxParseError>
fn parse(stream: &mut PtxTokenStream<'_>) -> Result<Self, PtxParseError>
Parse an instance of
Self from the token stream.Source§impl PtxUnparser for SectionDirective
impl PtxUnparser for SectionDirective
impl StructuralPartialEq for SectionDirective
Auto Trait Implementations§
impl Freeze for SectionDirective
impl RefUnwindSafe for SectionDirective
impl Send for SectionDirective
impl Sync for SectionDirective
impl Unpin for SectionDirective
impl UnwindSafe for SectionDirective
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