pub struct FlatSegment {
pub low: Id,
pub high: Id,
pub parents: Vec<Id>,
}Expand description
Base segment.
Intermediate structure between processing a Dag and constructing high level segments.
Fields§
§low: Id§high: Id§parents: Vec<Id>Trait Implementations§
Source§impl Clone for FlatSegment
impl Clone for FlatSegment
Source§fn clone(&self) -> FlatSegment
fn clone(&self) -> FlatSegment
Returns a duplicate of the value. Read more
1.0.0 · 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 FlatSegment
impl Debug for FlatSegment
Source§impl<'de> Deserialize<'de> for FlatSegment
impl<'de> Deserialize<'de> for FlatSegment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for FlatSegment
impl Ord for FlatSegment
Source§fn cmp(&self, other: &FlatSegment) -> Ordering
fn cmp(&self, other: &FlatSegment) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FlatSegment
impl PartialEq for FlatSegment
Source§impl PartialOrd for FlatSegment
impl PartialOrd for FlatSegment
Source§impl Serialize for FlatSegment
impl Serialize for FlatSegment
impl Eq for FlatSegment
impl StructuralPartialEq for FlatSegment
Auto Trait Implementations§
impl Freeze for FlatSegment
impl RefUnwindSafe for FlatSegment
impl Send for FlatSegment
impl Sync for FlatSegment
impl Unpin for FlatSegment
impl UnsafeUnpin for FlatSegment
impl UnwindSafe for FlatSegment
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