pub struct FromInto<T>(/* private fields */);Trait Implementations§
Source§impl<'a, T, U> ArbitraryAs<'a, T> for FromInto<U>
impl<'a, T, U> ArbitraryAs<'a, T> for FromInto<U>
fn arbitrary_as(u: &mut Unstructured<'a>) -> Result<T>
fn arbitrary_take_rest_as(u: Unstructured<'a>) -> Result<T>
fn size_hint_as(depth: usize) -> (usize, Option<usize>)
fn try_size_hint_as( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
impl<T: Copy> Copy for FromInto<T>
impl<T: Eq> Eq for FromInto<T>
Source§impl<T: Ord> Ord for FromInto<T>
impl<T: Ord> Ord for FromInto<T>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for FromInto<T>
impl<T: PartialEq> PartialEq for FromInto<T>
Source§impl<T: PartialOrd> PartialOrd for FromInto<T>
impl<T: PartialOrd> PartialOrd for FromInto<T>
impl<T> StructuralPartialEq for FromInto<T>
Auto Trait Implementations§
impl<T> Freeze for FromInto<T>
impl<T> RefUnwindSafe for FromInto<T>where
T: RefUnwindSafe,
impl<T> Send for FromInto<T>where
T: Send,
impl<T> Sync for FromInto<T>where
T: Sync,
impl<T> Unpin for FromInto<T>where
T: Unpin,
impl<T> UnsafeUnpin for FromInto<T>
impl<T> UnwindSafe for FromInto<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