[][src]Trait basin2_data::blocks::BlockStateProperty

pub trait BlockStateProperty<T: Send + Sync + 'static>: Sized {
    fn all(&self) -> Vec<T>;
fn state_from(&self, value: &str) -> Option<T>; }

Required methods

fn all(&self) -> Vec<T>

fn state_from(&self, value: &str) -> Option<T>

Loading content...

Implementations on Foreign Types

impl BlockStateProperty<bool> for bool[src]

Loading content...

Implementors

impl BlockStateProperty<Attachment> for Attachment[src]

impl BlockStateProperty<Axis> for Axis[src]

impl BlockStateProperty<ChestType> for ChestType[src]

impl BlockStateProperty<ComparatorMode> for ComparatorMode[src]

impl BlockStateProperty<East> for East[src]

impl BlockStateProperty<Face> for Face[src]

impl BlockStateProperty<Facing> for Facing[src]

impl BlockStateProperty<FacingDownable> for FacingDownable[src]

impl BlockStateProperty<FacingHorizontal> for FacingHorizontal[src]

impl BlockStateProperty<Flower> for Flower[src]

impl BlockStateProperty<Hinge> for Hinge[src]

impl BlockStateProperty<HorizontalAxis> for HorizontalAxis[src]

impl BlockStateProperty<Instrument> for Instrument[src]

impl BlockStateProperty<Leaves> for Leaves[src]

impl BlockStateProperty<North> for North[src]

impl BlockStateProperty<Part> for Part[src]

impl BlockStateProperty<PistonType> for PistonType[src]

impl BlockStateProperty<RailShape> for RailShape[src]

impl BlockStateProperty<SlabType> for SlabType[src]

impl BlockStateProperty<South> for South[src]

impl BlockStateProperty<StairShape> for StairShape[src]

impl BlockStateProperty<Stairs> for Stairs[src]

impl BlockStateProperty<StraightRailShape> for StraightRailShape[src]

impl BlockStateProperty<StructureMode> for StructureMode[src]

impl BlockStateProperty<West> for West[src]

impl BlockStateProperty<u8> for IntProperty[src]

Loading content...