Skip to main content

MergeInfo

Struct MergeInfo 

Source
pub struct MergeInfo<T, L>
where T: DenseId, L: DenseId,
{ pub survivor: T, pub absorbed: T, pub absorbed_uses: L, pub absorbed_min_row: Option<<T as DenseId>::Index>, pub absorbed_atomic: bool, }
Expand description

Returned by merge: survivor, absorbed, and the absorbed class’s data. Returned by merge: the surviving and absorbed canonical ids plus the absorbed class’s data, which the rebuild loop consumes (production’s MergeInfo).

Fields§

§survivor: T§absorbed: T§absorbed_uses: L§absorbed_min_row: Option<<T as DenseId>::Index>§absorbed_atomic: bool

Auto Trait Implementations§

§

impl<T, L> Freeze for MergeInfo<T, L>
where T: Freeze, L: Freeze, Option<<T as DenseId>::Index>: Freeze,

§

impl<T, L> RefUnwindSafe for MergeInfo<T, L>

§

impl<T, L> Send for MergeInfo<T, L>
where T: Send, L: Send, Option<<T as DenseId>::Index>: Send,

§

impl<T, L> Sync for MergeInfo<T, L>
where T: Sync, L: Sync, Option<<T as DenseId>::Index>: Sync,

§

impl<T, L> Unpin for MergeInfo<T, L>
where T: Unpin, L: Unpin, Option<<T as DenseId>::Index>: Unpin,

§

impl<T, L> UnsafeUnpin for MergeInfo<T, L>

§

impl<T, L> UnwindSafe for MergeInfo<T, L>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.