pub struct PragmaDirective {
pub kind: PragmaDirectiveKind,
pub span: Span,
}Expand description
Structured representation of a .pragma directive.
Syntax: .pragma “nounroll”; .pragma “used_bytes_mask mask”; .pragma “enable_smem_spilling”; .pragma “frequency n”;
Fields§
§kind: PragmaDirectiveKind§span: SpanImplementations§
Trait Implementations§
Source§impl Clone for PragmaDirective
impl Clone for PragmaDirective
Source§fn clone(&self) -> PragmaDirective
fn clone(&self) -> PragmaDirective
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PragmaDirective
impl Debug for PragmaDirective
Source§impl PartialEq for PragmaDirective
impl PartialEq for PragmaDirective
Source§fn eq(&self, other: &PragmaDirective) -> bool
fn eq(&self, other: &PragmaDirective) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PragmaDirective
impl Serialize for PragmaDirective
Source§impl Spanned for PragmaDirective
impl Spanned for PragmaDirective
impl StructuralPartialEq for PragmaDirective
Source§impl TreeDisplay for PragmaDirective
impl TreeDisplay for PragmaDirective
Source§fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
Display this node in tree format. Read more
Auto Trait Implementations§
impl Freeze for PragmaDirective
impl RefUnwindSafe for PragmaDirective
impl Send for PragmaDirective
impl Sync for PragmaDirective
impl Unpin for PragmaDirective
impl UnsafeUnpin for PragmaDirective
impl UnwindSafe for PragmaDirective
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