Struct dag_types::segment::FlatSegment
source · 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 copy 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<FlatSegment> for FlatSegment
impl PartialEq<FlatSegment> for FlatSegment
source§fn eq(&self, other: &FlatSegment) -> bool
fn eq(&self, other: &FlatSegment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FlatSegment> for FlatSegment
impl PartialOrd<FlatSegment> for FlatSegment
source§fn partial_cmp(&self, other: &FlatSegment) -> Option<Ordering>
fn partial_cmp(&self, other: &FlatSegment) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more