Struct safe_transmute::guard::SingleValueGuard
source · pub struct SingleValueGuard;
Expand description
Single value guard: The byte slice must have exactly enough bytes to fill a single instance of a type.
Trait Implementations
sourceimpl Guard for SingleValueGuard
impl Guard for SingleValueGuard
Auto Trait Implementations
impl RefUnwindSafe for SingleValueGuard
impl Send for SingleValueGuard
impl Sync for SingleValueGuard
impl Unpin for SingleValueGuard
impl UnwindSafe for SingleValueGuard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more