pub enum SymbolRelation<'a> {
Regular {
chunk: &'a [u8],
aligned: bool,
},
BoundToPrevious {
offset: usize,
len: usize,
},
}Expand description
Describes how a data symbol relates to its neighboring symbols within a segment.
Variants§
Regular
A standalone symbol with no binding constraints.
BoundToPrevious
A symbol that must stay adjacent to the previous symbol and cannot be moved or removed independently.
Trait Implementations§
Source§impl<'a> Clone for SymbolRelation<'a>
impl<'a> Clone for SymbolRelation<'a>
Source§fn clone(&self) -> SymbolRelation<'a>
fn clone(&self) -> SymbolRelation<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for SymbolRelation<'a>
impl<'a> RefUnwindSafe for SymbolRelation<'a>
impl<'a> Send for SymbolRelation<'a>
impl<'a> Sync for SymbolRelation<'a>
impl<'a> Unpin for SymbolRelation<'a>
impl<'a> UnsafeUnpin for SymbolRelation<'a>
impl<'a> UnwindSafe for SymbolRelation<'a>
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