Struct safe_transmute::guard::PermissiveGuard
source · pub struct PermissiveGuard;
Expand description
Permissive guard: The resulting slice would have as many instances of a type as will fit, rounded down. Therefore, this guard will never yield an error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PermissiveGuard
impl RefUnwindSafe for PermissiveGuard
impl Send for PermissiveGuard
impl Sync for PermissiveGuard
impl Unpin for PermissiveGuard
impl UnwindSafe for PermissiveGuard
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