pub enum LocFunctionName {
Label {
span: Span,
label: String,
},
LabelOffset {
span: Span,
label: String,
offset: i64,
},
}Variants§
Trait Implementations§
Source§impl Clone for LocFunctionName
impl Clone for LocFunctionName
Source§fn clone(&self) -> LocFunctionName
fn clone(&self) -> LocFunctionName
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 LocFunctionName
impl Debug for LocFunctionName
Source§impl PartialEq for LocFunctionName
impl PartialEq for LocFunctionName
Source§fn eq(&self, other: &LocFunctionName) -> bool
fn eq(&self, other: &LocFunctionName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocFunctionName
Auto Trait Implementations§
impl Freeze for LocFunctionName
impl RefUnwindSafe for LocFunctionName
impl Send for LocFunctionName
impl Sync for LocFunctionName
impl Unpin for LocFunctionName
impl UnsafeUnpin for LocFunctionName
impl UnwindSafe for LocFunctionName
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