[][src]Struct basin2_data::items::ItemT

pub struct ItemT {
    pub registry_name: AtomicSet<String>,
    pub registry_id: AtomicU32,
    pub max_stack_size: i32,
    pub max_damage: i32,
    pub crafting_remaining_item: Option<Item>,
    pub food_properties: Option<FoodProperties>,
}

Fields

registry_name: AtomicSet<String>registry_id: AtomicU32max_stack_size: i32max_damage: i32crafting_remaining_item: Option<Item>food_properties: Option<FoodProperties>

Methods

impl ItemT[src]

pub fn try_from(key: &str) -> Result<Item>[src]

Trait Implementations

impl Debug for ItemT[src]

impl From<Arc<BlockT>> for ItemT[src]

impl PartialEq<ItemT> for ItemT[src]

impl RegistryItem for ItemT[src]

Auto Trait Implementations

impl RefUnwindSafe for ItemT

impl Send for ItemT

impl Sync for ItemT

impl Unpin for ItemT

impl UnwindSafe for ItemT

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> From<T> for T[src]

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

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.