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§
Auto Trait Implementations§
impl Freeze for PedanticGuard
impl RefUnwindSafe for PedanticGuard
impl Send for PedanticGuard
impl Sync for PedanticGuard
impl Unpin for PedanticGuard
impl UnwindSafe for PedanticGuard
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