Type Alias SetUnionWithTombstonesVec

Source
pub type SetUnionWithTombstonesVec<Item> = SetUnionWithTombstones<Vec<Item>, Vec<Item>>;
Expand description

Vec-backed SetUnionWithTombstones lattice.

Aliased Type§

struct SetUnionWithTombstonesVec<Item> { /* private fields */ }

Implementations

Source§

impl<Set, TombstoneSet> SetUnionWithTombstones<Set, TombstoneSet>

Source

pub fn new(set: Set, tombstones: TombstoneSet) -> Self

Create a new SetUnionWithTombstones from a Set and TombstoneSet.

Source

pub fn new_from( set: impl Into<Set>, tombstones: impl Into<TombstoneSet>, ) -> Self

Create a new SetUnionWithTombstones from an Into<Set> and an Into<TombstonesSet>.

Source

pub fn as_reveal_ref(&self) -> (&Set, &TombstoneSet)

Reveal the inner value as a shared reference.

Source

pub fn as_reveal_mut(&mut self) -> (&mut Set, &mut TombstoneSet)

Reveal the inner value as an exclusive reference.

Source

pub fn into_reveal(self) -> (Set, TombstoneSet)

Gets the inner by value, consuming self.

Trait Implementations

Source§

impl<Set: Clone, TombstoneSet: Clone> Clone for SetUnionWithTombstones<Set, TombstoneSet>

Source§

fn clone(&self) -> SetUnionWithTombstones<Set, TombstoneSet>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<Set: Debug, TombstoneSet: Debug> Debug for SetUnionWithTombstones<Set, TombstoneSet>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<Set: Default, TombstoneSet: Default> Default for SetUnionWithTombstones<Set, TombstoneSet>

Source§

fn default() -> SetUnionWithTombstones<Set, TombstoneSet>

Returns the “default value” for a type. Read more
Source§

impl<Set, TombstoneSet> IsBot for SetUnionWithTombstones<Set, TombstoneSet>
where Set: Len, TombstoneSet: Len,

Source§

fn is_bot(&self) -> bool

Returns if self is lattice bottom (⊥). Read more
Source§

impl<Set, TombstoneSet> IsTop for SetUnionWithTombstones<Set, TombstoneSet>

Source§

fn is_top(&self) -> bool

Returns if self is lattice top (⊤). Read more
Source§

impl<SetSelf, TombstoneSetSelf, SetOther, TombstoneSetOther, Item> LatticeFrom<SetUnionWithTombstones<SetOther, TombstoneSetOther>> for SetUnionWithTombstones<SetSelf, TombstoneSetSelf>
where SetSelf: FromIterator<Item>, SetOther: IntoIterator<Item = Item>, TombstoneSetSelf: FromIterator<Item>, TombstoneSetOther: IntoIterator<Item = Item>,

Source§

fn lattice_from( other: SetUnionWithTombstones<SetOther, TombstoneSetOther>, ) -> Self

Convert from the Other lattice into Self.
Source§

impl<Item, SetSelf, TombstoneSetSelf, SetOther, TombstoneSetOther> Merge<SetUnionWithTombstones<SetOther, TombstoneSetOther>> for SetUnionWithTombstones<SetSelf, TombstoneSetSelf>
where SetSelf: Extend<Item> + Len + for<'a> Remove<&'a Item>, SetOther: IntoIterator<Item = Item>, TombstoneSetSelf: Extend<Item> + Len + for<'a> Get<&'a Item>, TombstoneSetOther: IntoIterator<Item = Item>,

Source§

fn merge( &mut self, other: SetUnionWithTombstones<SetOther, TombstoneSetOther>, ) -> bool

Merge other into the self lattice. Read more
Source§

fn merge_owned(this: Self, delta: Other) -> Self
where Self: Sized,

Merge this and delta together, returning the new value.
Source§

impl<SetSelf, TombstoneSetSelf, SetOther, TombstoneSetOther, Item> PartialEq<SetUnionWithTombstones<SetOther, TombstoneSetOther>> for SetUnionWithTombstones<SetSelf, TombstoneSetSelf>
where SetSelf: Set<Item, Item = Item> + Iter, SetOther: Set<Item, Item = Item> + Iter, TombstoneSetSelf: Set<Item, Item = Item> + Iter, TombstoneSetOther: Set<Item, Item = Item> + Iter,

Source§

fn eq( &self, other: &SetUnionWithTombstones<SetOther, TombstoneSetOther>, ) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<SetSelf, TombstoneSetSelf, SetOther, TombstoneSetOther, Item> PartialOrd<SetUnionWithTombstones<SetOther, TombstoneSetOther>> for SetUnionWithTombstones<SetSelf, TombstoneSetSelf>
where SetSelf: Set<Item, Item = Item> + Iter, SetOther: Set<Item, Item = Item> + Iter, TombstoneSetSelf: Set<Item, Item = Item> + Iter, TombstoneSetOther: Set<Item, Item = Item> + Iter,

Source§

fn partial_cmp( &self, other: &SetUnionWithTombstones<SetOther, TombstoneSetOther>, ) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<SetSelf, TombstoneSetSelf> Eq for SetUnionWithTombstones<SetSelf, TombstoneSetSelf>
where Self: PartialEq,

Source§

impl<SetSelf, TombstoneSetSelf, SetOther, TombstoneSetOther> LatticeOrd<SetUnionWithTombstones<SetOther, TombstoneSetOther>> for SetUnionWithTombstones<SetSelf, TombstoneSetSelf>
where Self: PartialOrd<SetUnionWithTombstones<SetOther, TombstoneSetOther>>,