pub struct BranchTargetsDirective {
pub labels: Vec<Label>,
pub span: Span,
}Expand description
Structured representation of a .branchtargets directive.
Syntax: .branchtargets label1, label2, label3, …;
Fields§
§labels: Vec<Label>§span: SpanImplementations§
Trait Implementations§
Source§impl Clone for BranchTargetsDirective
impl Clone for BranchTargetsDirective
Source§fn clone(&self) -> BranchTargetsDirective
fn clone(&self) -> BranchTargetsDirective
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 BranchTargetsDirective
impl Debug for BranchTargetsDirective
Source§impl PartialEq for BranchTargetsDirective
impl PartialEq for BranchTargetsDirective
Source§fn eq(&self, other: &BranchTargetsDirective) -> bool
fn eq(&self, other: &BranchTargetsDirective) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BranchTargetsDirective
impl Serialize for BranchTargetsDirective
Source§impl Spanned for BranchTargetsDirective
impl Spanned for BranchTargetsDirective
impl StructuralPartialEq for BranchTargetsDirective
Source§impl TreeDisplay for BranchTargetsDirective
impl TreeDisplay for BranchTargetsDirective
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 BranchTargetsDirective
impl RefUnwindSafe for BranchTargetsDirective
impl Send for BranchTargetsDirective
impl Sync for BranchTargetsDirective
impl Unpin for BranchTargetsDirective
impl UnsafeUnpin for BranchTargetsDirective
impl UnwindSafe for BranchTargetsDirective
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