Struct classicube_sys::_InventoryData
source · #[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
source§fn eq(&self, other: &_InventoryData) -> bool
fn eq(&self, other: &_InventoryData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)