Struct minecraft_data_rs::models::block::Block[][src]

pub struct Block {
Show fields pub id: u32, pub display_name: String, pub name: String, pub hardness: Option<f32>, pub stack_size: u8, pub diggable: bool, pub bounding_box: BoundingBox, pub material: Option<String>, pub harvest_tool: Option<HashMap<u32, bool>>, pub variations: Option<Vec<Variation>>, pub drops: Vec<u32>, pub transparent: bool, pub emit_light: u8, pub filter_light: u8, pub min_state_id: Option<u32>, pub max_state_id: Option<u32>, pub default_state: Option<u32>, pub blast_resistance: Option<f32>,
}

Fields

id: u32display_name: Stringname: Stringhardness: Option<f32>stack_size: u8diggable: boolbounding_box: BoundingBoxmaterial: Option<String>harvest_tool: Option<HashMap<u32, bool>>variations: Option<Vec<Variation>>drops: Vec<u32>transparent: boolemit_light: u8filter_light: u8min_state_id: Option<u32>max_state_id: Option<u32>default_state: Option<u32>blast_resistance: Option<f32>

Trait Implementations

impl Clone for Block[src]

impl Debug for Block[src]

impl<'de> Deserialize<'de> for Block[src]

Auto Trait Implementations

impl RefUnwindSafe for Block

impl Send for Block

impl Sync for Block

impl Unpin for Block

impl UnwindSafe for Block

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.