pub struct ScalarGroup<S> { /* private fields */ }Implementations§
Source§impl<S> ScalarGroup<S>
impl<S> ScalarGroup<S>
pub fn candidates( group_name: &'static str, targets: Vec<ScalarTarget<S>>, candidate_provider: ScalarCandidateProvider<S>, ) -> Self
pub fn assignment(group_name: &'static str, target: ScalarTarget<S>) -> Self
pub fn with_required_entity( self, required_entity: fn(&S, usize) -> bool, ) -> Self
pub fn with_capacity_key( self, capacity_key: fn(&S, usize, usize) -> Option<usize>, ) -> Self
pub fn with_position_key(self, position_key: fn(&S, usize) -> i64) -> Self
pub fn with_sequence_key( self, sequence_key: fn(&S, usize, usize) -> Option<usize>, ) -> Self
pub fn with_entity_order(self, entity_order: fn(&S, usize) -> i64) -> Self
pub fn with_value_order(self, value_order: fn(&S, usize, usize) -> i64) -> Self
pub fn with_limits(self, limits: ScalarGroupLimits) -> Self
Trait Implementations§
Source§impl<S> Clone for ScalarGroup<S>
impl<S> Clone for ScalarGroup<S>
Auto Trait Implementations§
impl<S> Freeze for ScalarGroup<S>
impl<S> RefUnwindSafe for ScalarGroup<S>
impl<S> Send for ScalarGroup<S>
impl<S> Sync for ScalarGroup<S>
impl<S> Unpin for ScalarGroup<S>
impl<S> UnsafeUnpin for ScalarGroup<S>
impl<S> UnwindSafe for ScalarGroup<S>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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