pub struct OutputType<T: Deref<Target = Type>>(pub Option<T>);
Expand description
The type desciptor of the output of a function call.
This is optional, and if present, it must be the last argument in the function call.
Tuple Fields§
§0: Option<T>
Trait Implementations§
Source§impl<T: Clone + Deref<Target = Type>> Clone for OutputType<T>
impl<T: Clone + Deref<Target = Type>> Clone for OutputType<T>
Source§fn clone(&self) -> OutputType<T>
fn clone(&self) -> OutputType<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<T: Copy + Deref<Target = Type>> Copy for OutputType<T>
Auto Trait Implementations§
impl<T> Freeze for OutputType<T>where
T: Freeze,
impl<T> RefUnwindSafe for OutputType<T>where
T: RefUnwindSafe,
impl<T> Send for OutputType<T>where
T: Send,
impl<T> Sync for OutputType<T>where
T: Sync,
impl<T> Unpin for OutputType<T>where
T: Unpin,
impl<T> UnwindSafe for OutputType<T>where
T: 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