Struct dag::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, Global>
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<FlatSegment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<FlatSegment, <__D as Deserializer<'de>>::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 moresource§impl Serialize for FlatSegment
impl Serialize for FlatSegment
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for FlatSegment
impl StructuralEq for FlatSegment
impl StructuralPartialEq for FlatSegment
Auto Trait Implementations§
impl RefUnwindSafe for FlatSegment
impl Send for FlatSegment
impl Sync for FlatSegment
impl Unpin for FlatSegment
impl UnwindSafe for FlatSegment
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.