pub struct RO<T: Copy>(/* private fields */);
Implementations§
Auto Trait Implementations§
impl<T> Freeze for RO<T>where
T: Freeze,
impl<T> RefUnwindSafe for RO<T>where
T: RefUnwindSafe,
impl<T> Send for RO<T>where
T: Send,
impl<T> Sync for RO<T>where
T: Sync,
impl<T> Unpin for RO<T>where
T: Unpin,
impl<T> UnwindSafe for RO<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
Source§impl<T, U> UnsafeFrom<U> for Twhere
T: From<U>,
impl<T, U> UnsafeFrom<U> for Twhere
T: From<U>,
Source§unsafe fn unsafe_from(other: U) -> T
unsafe fn unsafe_from(other: U) -> T
Calls T::from(other)
.
That is, this conversion is whatever the implementation of From
<U> for T
chooses to
do.
Source§impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
Source§unsafe fn unsafe_into(self) -> U
unsafe fn unsafe_into(self) -> U
Calls U::unsafe_from(self)
.
That is, this conversion is whatever the implementation of UnsafeFrom
<T> for U
chooses to do.