pub unsafe trait Subplace: Sized {
type Source: ?Sized;
type Target: ?Sized;
// Required method
fn offset(
self,
metadata: <Self::Source as Pointee>::Metadata,
) -> (usize, <Self::Target as Pointee>::Metadata);
}🔬This is a nightly-only experimental API. (
field_projections #145383)Required Associated Types§
type Source: ?Sized
🔬This is a nightly-only experimental API. (
field_projections #145383)type Target: ?Sized
🔬This is a nightly-only experimental API. (
field_projections #145383)Required Methods§
fn offset( self, metadata: <Self::Source as Pointee>::Metadata, ) -> (usize, <Self::Target as Pointee>::Metadata)
🔬This is a nightly-only experimental API. (
field_projections #145383)Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".