pub struct Return<R>(pub R);Tuple Fields§
§0: RTrait Implementations§
source§impl<'de, R: DeserializeOwned + 'static> Deserialize<'de> for Return<R>
impl<'de, R: DeserializeOwned + 'static> Deserialize<'de> for Return<R>
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<R: Ord> Ord for Return<R>
impl<R: Ord> Ord for Return<R>
source§impl<R: PartialEq> PartialEq for Return<R>
impl<R: PartialEq> PartialEq for Return<R>
source§impl<R: PartialOrd> PartialOrd for Return<R>
impl<R: PartialOrd> PartialOrd for Return<R>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl<R: Copy> Copy for Return<R>
impl<R: Eq> Eq for Return<R>
impl<R> StructuralPartialEq for Return<R>
Auto Trait Implementations§
impl<R> Freeze for Return<R>where
R: Freeze,
impl<R> RefUnwindSafe for Return<R>where
R: RefUnwindSafe,
impl<R> Send for Return<R>where
R: Send,
impl<R> Sync for Return<R>where
R: Sync,
impl<R> Unpin for Return<R>where
R: Unpin,
impl<R> UnwindSafe for Return<R>where
R: 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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)