pub trait ContainerClientExt {
// Required methods
fn open_container_at(
&mut self,
pos: BlockPos,
) -> impl Future<Output = Option<ContainerHandle>> + Send;
fn open_inventory(&mut self) -> Option<ContainerHandle>;
fn get_open_container(&self) -> Option<ContainerHandleRef>;
}
Required Methods§
fn open_container_at( &mut self, pos: BlockPos, ) -> impl Future<Output = Option<ContainerHandle>> + Send
fn open_inventory(&mut self) -> Option<ContainerHandle>
fn get_open_container(&self) -> Option<ContainerHandleRef>
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.