pub trait IntoAttached: Sized {
// Provided method
fn into_attached<Attachment>(
self,
attachment: Attachment,
) -> Attached<Self, Attachment> { ... }
}Expand description
Utility trait to create object with attachments.
Provided Methods§
Sourcefn into_attached<Attachment>(
self,
attachment: Attachment,
) -> Attached<Self, Attachment>
fn into_attached<Attachment>( self, attachment: Attachment, ) -> Attached<Self, Attachment>
Attach metadata to an object.
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.