#[repr(transparent)]pub struct Bounds<B>(pub B);
Expand description
A newtype-wrapper around slice bounds.
Tuple Fields§
§0: B
Trait Implementations§
impl<B: Copy> Copy for Bounds<B>
Auto Trait Implementations§
impl<B> Freeze for Bounds<B>where
B: Freeze,
impl<B> RefUnwindSafe for Bounds<B>where
B: RefUnwindSafe,
impl<B> Send for Bounds<B>where
B: Send,
impl<B> Sync for Bounds<B>where
B: Sync,
impl<B> Unpin for Bounds<B>where
B: Unpin,
impl<B> UnwindSafe for Bounds<B>where
B: 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