pub struct BidegreeRange<'a, T> {
s: i32,
t: &'a (dyn Fn(&T, i32) -> i32 + Sync),
aux: &'a T,
}Expand description
A range of bidegrees, corresponding to all s up to a given value, and for each of them, a
maximum t.
Fields§
§s: i32The maximal value of s in the range.
t: &'a (dyn Fn(&T, i32) -> i32 + Sync)The function that gives, for a given value of s, the maximum value for t.
aux: &'a TAuxillary data that t may depend on.
Implementations§
Trait Implementations§
Source§impl<T> Clone for BidegreeRange<'_, T>
impl<T> Clone for BidegreeRange<'_, T>
impl<T> Copy for BidegreeRange<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for BidegreeRange<'a, T>
impl<'a, T> !RefUnwindSafe for BidegreeRange<'a, T>
impl<'a, T> Send for BidegreeRange<'a, T>where
T: Sync,
impl<'a, T> Sync for BidegreeRange<'a, T>where
T: Sync,
impl<'a, T> Unpin for BidegreeRange<'a, T>
impl<'a, T> !UnwindSafe for BidegreeRange<'a, T>
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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