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