Skip to main content

DerefMutLogic

Trait DerefMutLogic 

Source
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§

Source

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.
Source§

fn deref_mut_logic(&mut self) -> &mut T

logic ⚠

Implementors§

Source§

impl<T: ?Sized> DerefMutLogic for Ghost<T>

Source§

impl<T: ?Sized> DerefMutLogic for Snapshot<T>

Available on creusot only.