Skip to main content

HostBlockStates

Trait HostBlockStates 

pub trait HostBlockStates {
    // Required method
    fn block_states(&self) -> BlockStates<'_>;
}
Expand description

Reaches BlockStates from any host.

Required Methods§

fn block_states(&self) -> BlockStates<'_>

Facts about block states, as the game’s tables hold them.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

§

impl<H> HostBlockStates for H
where H: Host + ?Sized,