[−][src]Union cluFullTransmute::mem::MaybeTransmute
Delayed transformation wrapper.
Methods
impl<T, To> MaybeTransmute<T, To>
[src]
pub const fn new(data: T) -> Self
[src]
pub fn as_data<'a>(&'a self) -> &'a T
[src]
pub const fn data(self) -> T
[src]
pub const unsafe fn into(self) -> To
[src]
Trait Implementations
impl<T, To> DerefMut for MaybeTransmute<T, To>
[src]
impl<T, To> From<T> for MaybeTransmute<T, To>
[src]
impl<T, To, Rhs> PartialEq<Rhs> for MaybeTransmute<T, To> where
T: PartialEq<Rhs>,
[src]
T: PartialEq<Rhs>,
impl<T, To> Debug for MaybeTransmute<T, To> where
T: Debug,
[src]
T: Debug,
impl<T, To> Deref for MaybeTransmute<T, To>
[src]
type Target = T
The resulting type after dereferencing.
fn deref<'a>(&'a self) -> &'a Self::Target
[src]
impl<T, To> Drop for MaybeTransmute<T, To>
[src]
impl<T, To> Clone for MaybeTransmute<T, To> where
T: Clone,
[src]
T: Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<T, To> Send for MaybeTransmute<T, To> where
T: Send,
To: Send,
T: Send,
To: Send,
impl<T, To> Sync for MaybeTransmute<T, To> where
T: Sync,
To: Sync,
T: Sync,
To: Sync,
impl<T, To> Unpin for MaybeTransmute<T, To> where
T: Unpin,
To: Unpin,
T: Unpin,
To: Unpin,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,