pub enum DirectiveStatement {
Pragma {
span: Span,
value: String,
},
Loc(LocDirective),
BranchTargets {
span: Span,
labels: Vec<LabelPattern>,
},
CallTargets {
span: Span,
targets: Vec<String>,
},
CallPrototype {
span: Span,
prototype: CallPrototype,
},
}Variants§
Trait Implementations§
Source§impl Clone for DirectiveStatement
impl Clone for DirectiveStatement
Source§fn clone(&self) -> DirectiveStatement
fn clone(&self) -> DirectiveStatement
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 DirectiveStatement
impl Debug for DirectiveStatement
Source§impl PartialEq for DirectiveStatement
impl PartialEq for DirectiveStatement
Source§fn eq(&self, other: &DirectiveStatement) -> bool
fn eq(&self, other: &DirectiveStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DirectiveStatement
Auto Trait Implementations§
impl Freeze for DirectiveStatement
impl RefUnwindSafe for DirectiveStatement
impl Send for DirectiveStatement
impl Sync for DirectiveStatement
impl Unpin for DirectiveStatement
impl UnsafeUnpin for DirectiveStatement
impl UnwindSafe for DirectiveStatement
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