Struct classicube_sys::_BlockLists
source · #[repr(C)]pub struct _BlockLists {Show 25 fields
pub IsLiquid: [cc_bool; 768],
pub BlocksLight: [cc_bool; 768],
pub Brightness: [cc_uint8; 768],
pub FogCol: [PackedCol; 768],
pub FogDensity: [f32; 768],
pub Collide: [cc_uint8; 768],
pub ExtendedCollide: [cc_uint8; 768],
pub SpeedMultiplier: [f32; 768],
pub LightOffset: [cc_uint8; 768],
pub Draw: [cc_uint8; 768],
pub DigSounds: [cc_uint8; 768],
pub StepSounds: [cc_uint8; 768],
pub Tinted: [cc_bool; 768],
pub FullOpaque: [cc_bool; 768],
pub SpriteOffset: [cc_uint8; 768],
pub MinBB: [Vec3; 768],
pub MaxBB: [Vec3; 768],
pub RenderMinBB: [Vec3; 768],
pub RenderMaxBB: [Vec3; 768],
pub Textures: [TextureLoc; 4608],
pub CanPlace: [cc_bool; 768],
pub CanDelete: [cc_bool; 768],
pub Hidden: [cc_uint8; 589824],
pub CanStretch: [cc_uint8; 768],
pub ParticleGravity: [f32; 768],
}
Fields§
§IsLiquid: [cc_bool; 768]
§BlocksLight: [cc_bool; 768]
§Brightness: [cc_uint8; 768]
§FogCol: [PackedCol; 768]
§FogDensity: [f32; 768]
§Collide: [cc_uint8; 768]
§ExtendedCollide: [cc_uint8; 768]
§SpeedMultiplier: [f32; 768]
§LightOffset: [cc_uint8; 768]
§Draw: [cc_uint8; 768]
§DigSounds: [cc_uint8; 768]
§StepSounds: [cc_uint8; 768]
§Tinted: [cc_bool; 768]
§FullOpaque: [cc_bool; 768]
§SpriteOffset: [cc_uint8; 768]
§MinBB: [Vec3; 768]
§MaxBB: [Vec3; 768]
§RenderMinBB: [Vec3; 768]
§RenderMaxBB: [Vec3; 768]
§Textures: [TextureLoc; 4608]
§CanPlace: [cc_bool; 768]
§CanDelete: [cc_bool; 768]
§Hidden: [cc_uint8; 589824]
§CanStretch: [cc_uint8; 768]
§ParticleGravity: [f32; 768]
Trait Implementations§
source§impl Clone for _BlockLists
impl Clone for _BlockLists
source§fn clone(&self) -> _BlockLists
fn clone(&self) -> _BlockLists
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 _BlockLists
impl Debug for _BlockLists
source§impl PartialEq for _BlockLists
impl PartialEq for _BlockLists
source§fn eq(&self, other: &_BlockLists) -> bool
fn eq(&self, other: &_BlockLists) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _BlockLists
impl StructuralPartialEq for _BlockLists
Auto Trait Implementations§
impl Freeze for _BlockLists
impl RefUnwindSafe for _BlockLists
impl Send for _BlockLists
impl Sync for _BlockLists
impl Unpin for _BlockLists
impl UnwindSafe for _BlockLists
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
)