pub struct ConstantInfinity<T> { /* private fields */ }Trait Implementations§
Source§impl<T> Constant<T> for ConstantInfinity<T>where
T: Infinity,
impl<T> Constant<T> for ConstantInfinity<T>where
T: Infinity,
Auto Trait Implementations§
impl<T> Freeze for ConstantInfinity<T>where
PhantomData<T>: Freeze,
impl<T> RefUnwindSafe for ConstantInfinity<T>where
PhantomData<T>: RefUnwindSafe,
impl<T> Send for ConstantInfinity<T>where
PhantomData<T>: Send,
impl<T> Sync for ConstantInfinity<T>where
PhantomData<T>: Sync,
impl<T> Unpin for ConstantInfinity<T>where
PhantomData<T>: Unpin,
impl<T> UnsafeUnpin for ConstantInfinity<T>where
PhantomData<T>: UnsafeUnpin,
impl<T> UnwindSafe for ConstantInfinity<T>where
PhantomData<T>: UnwindSafe,
Blanket Implementations§
Source§impl<T> AnyAsync for Twhere
T: Any + WasmSendSync + 'static,
impl<T> AnyAsync for Twhere
T: Any + WasmSendSync + 'static,
impl<T> Async for T
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<S, T> CastRangeInto<T> for Swhere
T: CastRangeFrom<S>,
impl<S, T> CastRangeInto<T> for Swhere
T: CastRangeFrom<S>,
fn cast_range_into(self) -> T
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