Struct classicube_sys::GameVersion
source · #[repr(C)]pub struct GameVersion {
pub Name: *const c_char,
pub HasCPE: cc_bool,
pub Version: cc_uint8,
pub Protocol: cc_uint8,
pub MaxCoreBlock: cc_uint8,
pub BlocksPerRow: cc_uint8,
pub InventorySize: cc_uint8,
pub Inventory: *const cc_uint8,
pub Hotbar: *const cc_uint8,
pub DefaultTexpack: *const c_char,
}
Fields§
§Name: *const c_char
§HasCPE: cc_bool
§Version: cc_uint8
§Protocol: cc_uint8
§MaxCoreBlock: cc_uint8
§BlocksPerRow: cc_uint8
§InventorySize: cc_uint8
§Inventory: *const cc_uint8
§Hotbar: *const cc_uint8
§DefaultTexpack: *const c_char
Trait Implementations§
source§impl Clone for GameVersion
impl Clone for GameVersion
source§fn clone(&self) -> GameVersion
fn clone(&self) -> GameVersion
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 GameVersion
impl Debug for GameVersion
source§impl Hash for GameVersion
impl Hash for GameVersion
source§impl PartialEq for GameVersion
impl PartialEq for GameVersion
source§fn eq(&self, other: &GameVersion) -> bool
fn eq(&self, other: &GameVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GameVersion
impl Eq for GameVersion
impl StructuralPartialEq for GameVersion
Auto Trait Implementations§
impl Freeze for GameVersion
impl RefUnwindSafe for GameVersion
impl !Send for GameVersion
impl !Sync for GameVersion
impl Unpin for GameVersion
impl UnwindSafe for GameVersion
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
)