pub trait DerefMutLogic: DerefMut + DerefLogic {
// Required method
fn deref_mut_logic(&mut self) -> &mut Self::Target;
}Expand description
Same as DerefLogic, but for mutable borrows.
Required Methods§
Sourcefn deref_mut_logic(&mut self) -> &mut Self::Target
fn deref_mut_logic(&mut self) -> &mut Self::Target
logic ⚠
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<T, A: Allocator> DerefMutLogic for Box<T, A>
Available on crate feature nightly only.
impl<T, A: Allocator> DerefMutLogic for Box<T, A>
Available on crate feature
nightly only.Source§fn deref_mut_logic(&mut self) -> &mut T
fn deref_mut_logic(&mut self) -> &mut T
logic ⚠
Implementors§
impl<T: ?Sized> DerefMutLogic for Ghost<T>
impl<T: ?Sized> DerefMutLogic for Snapshot<T>
Available on
creusot only.