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
sourceimpl Guard for PermissiveGuard
impl Guard for PermissiveGuard
Auto Trait Implementations
impl RefUnwindSafe for PermissiveGuard
impl Send for PermissiveGuard
impl Sync for PermissiveGuard
impl Unpin for PermissiveGuard
impl UnwindSafe for PermissiveGuard
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