pub struct PartitionBuilder<'a, M, K, S, C>{ /* private fields */ }Implementations§
Source§impl<'a, M, K, S, C> PartitionBuilder<'a, M, K, S, C>
impl<'a, M, K, S, C> PartitionBuilder<'a, M, K, S, C>
pub fn new(source: C::Container<'a, S::Element<'a>>) -> Self
pub fn build( self, classify: impl FnMut(&S::Element<'a>) -> PartitionClassification<K>, ) -> QueryResult<Partition<'a, M, K, OperandHandle<S, C>>>
Auto Trait Implementations§
impl<'a, M, K, S, C> Freeze for PartitionBuilder<'a, M, K, S, C>
impl<'a, M, K, S, C> RefUnwindSafe for PartitionBuilder<'a, M, K, S, C>
impl<'a, M, K, S, C> Send for PartitionBuilder<'a, M, K, S, C>
impl<'a, M, K, S, C> Sync for PartitionBuilder<'a, M, K, S, C>
impl<'a, M, K, S, C> Unpin for PartitionBuilder<'a, M, K, S, C>
impl<'a, M, K, S, C> UnsafeUnpin for PartitionBuilder<'a, M, K, S, C>
impl<'a, M, K, S, C> UnwindSafe for PartitionBuilder<'a, M, K, S, C>
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
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