pub struct MergeData {
pub occurs_in: AHashSet<u64>,
pub freq: Freq,
}Fields§
§occurs_in: AHashSet<u64>§freq: FreqImplementations§
Source§impl MergeData
impl MergeData
Sourcepub fn add_occurs_in<I: IntoIterator<Item = u64>>(self, iter: I) -> Self
pub fn add_occurs_in<I: IntoIterator<Item = u64>>(self, iter: I) -> Self
Replace the occurrence set with iter.
Sourcepub fn occurs_in_vec(&self) -> Vec<u64>
pub fn occurs_in_vec(&self) -> Vec<u64>
Return occurs_in as a Vec.
Trait Implementations§
impl StructuralPartialEq for MergeData
Auto Trait Implementations§
impl Freeze for MergeData
impl RefUnwindSafe for MergeData
impl Send for MergeData
impl Sync for MergeData
impl Unpin for MergeData
impl UnsafeUnpin for MergeData
impl UnwindSafe for MergeData
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
impl<C, T> CanToWord<T> for Cwhere
T: ToWord<C>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more