pub trait ItemFrame: Entity {
// Required methods
fn direction(&self) -> Direction;
fn analog_output(&self) -> i32;
}Expand description
Vanilla ItemFrame behavior used by comparators.
Required Methods§
Sourcefn direction(&self) -> Direction
fn direction(&self) -> Direction
Returns the direction from the backing block toward the frame.
Sourcefn analog_output(&self) -> i32
fn analog_output(&self) -> i32
Returns vanilla ItemFrame.getAnalogOutput.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".