Trait AttachmentHost
pub trait AttachmentHost {
// Required method
fn attachments(
&mut self,
holder: Holder,
access: AttachmentAccess,
) -> Result<&mut Attachments, AttachmentError>;
}Expand description
The game’s access to each holder’s map: every AttachmentStore answers through it.
Required Methods§
fn attachments( &mut self, holder: Holder, access: AttachmentAccess, ) -> Result<&mut Attachments, AttachmentError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl AttachmentHost for Attachments
A lone map answers for any holder.