pub struct BoundedTypeVar<TypeVar, Bounds>(pub TypeVar, pub Bounds);Expand description
A type variable with a sequence of bounds.
Will render as TypeVar: B1 + B2 + ...
Tuple Fields§
§0: TypeVar§1: BoundsTrait Implementations§
Auto Trait Implementations§
impl<TypeVar, Bounds> Freeze for BoundedTypeVar<TypeVar, Bounds>
impl<TypeVar, Bounds> RefUnwindSafe for BoundedTypeVar<TypeVar, Bounds>where
TypeVar: RefUnwindSafe,
Bounds: RefUnwindSafe,
impl<TypeVar, Bounds> Send for BoundedTypeVar<TypeVar, Bounds>
impl<TypeVar, Bounds> Sync for BoundedTypeVar<TypeVar, Bounds>
impl<TypeVar, Bounds> Unpin for BoundedTypeVar<TypeVar, Bounds>
impl<TypeVar, Bounds> UnwindSafe for BoundedTypeVar<TypeVar, Bounds>where
TypeVar: UnwindSafe,
Bounds: UnwindSafe,
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