pub struct Set<T>(pub T);
Expand description
A parameter that has been set to some value.
Tuple Fields
0: T
Implementations
Trait Implementations
impl<T: Copy> Copy for Set<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Set<T> where
T: RefUnwindSafe,
impl<T> Send for Set<T> where
T: Send,
impl<T> Sync for Set<T> where
T: Sync,
impl<T> Unpin for Set<T> where
T: Unpin,
impl<T> UnwindSafe for Set<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more