Struct safe_transmute::guard::PedanticGuard
source · pub struct PedanticGuard;
Expand description
Pedantic guard: The byte slice must have at least enough bytes to fill a single instance of a type, and should not have extraneous data.
Trait Implementations
sourceimpl Guard for PedanticGuard
impl Guard for PedanticGuard
Auto Trait Implementations
impl RefUnwindSafe for PedanticGuard
impl Send for PedanticGuard
impl Sync for PedanticGuard
impl Unpin for PedanticGuard
impl UnwindSafe for PedanticGuard
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