pub struct Val;Expand description
Taking a T by Value means taking a T as input to or output from a function.
Trait Implementations§
Source§impl Ord for Val
impl Ord for Val
Source§impl PartialOrd for Val
impl PartialOrd for Val
impl Copy for Val
impl Eq for Val
impl StructuralPartialEq for Val
Auto Trait Implementations§
impl Freeze for Val
impl RefUnwindSafe for Val
impl Send for Val
impl Sync for Val
impl Unpin for Val
impl UnwindSafe for Val
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