#[repr(C)]pub struct _InventoryData {
pub Table: [BlockID; 81],
pub Map: [BlockID; 768],
pub SelectedIndex: c_int,
pub Offset: c_int,
pub CanChangeSelected: cc_bool,
pub BlocksPerRow: cc_uint8,
}
Fields§
§Table: [BlockID; 81]
§Map: [BlockID; 768]
§SelectedIndex: c_int
§Offset: c_int
§CanChangeSelected: cc_bool
§BlocksPerRow: cc_uint8
Trait Implementations§
Source§impl Clone for _InventoryData
impl Clone for _InventoryData
Source§fn clone(&self) -> _InventoryData
fn clone(&self) -> _InventoryData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for _InventoryData
impl Debug for _InventoryData
Source§impl Hash for _InventoryData
impl Hash for _InventoryData
Source§impl PartialEq for _InventoryData
impl PartialEq for _InventoryData
impl Copy for _InventoryData
impl Eq for _InventoryData
impl StructuralPartialEq for _InventoryData
Auto Trait Implementations§
impl Freeze for _InventoryData
impl RefUnwindSafe for _InventoryData
impl Send for _InventoryData
impl Sync for _InventoryData
impl Unpin for _InventoryData
impl UnwindSafe for _InventoryData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more