Trait munge::Destructure
source · [−]pub trait Destructure {
type Underlying: ?Sized;
fn as_mut_ptr(&mut self) -> *mut Self::Underlying;
}
Expand description
A type that can be destructured into its constituent parts.
Associated Types
type Underlying: ?Sized
type Underlying: ?Sized
The underlying type that is destructured.
Required methods
fn as_mut_ptr(&mut self) -> *mut Self::Underlying
fn as_mut_ptr(&mut self) -> *mut Self::Underlying
Returns a mutable pointer to the underlying type.