pub trait ProjectMut: Project {
type OutputMut<'a, Field: 'a>
where Self: 'a;
// Required method
unsafe fn project_mut<'a, Field>(
&'a mut self,
project_field: fn(*mut Self::Base) -> *mut Field,
) -> Self::OutputMut<'a, Field>;
}Required Associated Types§
Required Methods§
unsafe fn project_mut<'a, Field>( &'a mut self, project_field: fn(*mut Self::Base) -> *mut Field, ) -> Self::OutputMut<'a, Field>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.