#[repr(C)]pub struct StructureVariant {}Fields§
§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§size: u8§start: u8§biome: c_short§rotation: u8§mirror: u8§x: i16§y: i16§z: i16§sx: i16§sy: i16§sz: i16Implementations§
Source§impl StructureVariant
impl StructureVariant
pub fn abandoned(&self) -> u8
pub fn set_abandoned(&mut self, val: u8)
pub unsafe fn abandoned_raw(this: *const Self) -> u8
pub unsafe fn set_abandoned_raw(this: *mut Self, val: u8)
pub fn giant(&self) -> u8
pub fn set_giant(&mut self, val: u8)
pub unsafe fn giant_raw(this: *const Self) -> u8
pub unsafe fn set_giant_raw(this: *mut Self, val: u8)
pub fn underground(&self) -> u8
pub fn set_underground(&mut self, val: u8)
pub unsafe fn underground_raw(this: *const Self) -> u8
pub unsafe fn set_underground_raw(this: *mut Self, val: u8)
pub fn airpocket(&self) -> u8
pub fn set_airpocket(&mut self, val: u8)
pub unsafe fn airpocket_raw(this: *const Self) -> u8
pub unsafe fn set_airpocket_raw(this: *mut Self, val: u8)
pub fn basement(&self) -> u8
pub fn set_basement(&mut self, val: u8)
pub unsafe fn basement_raw(this: *const Self) -> u8
pub unsafe fn set_basement_raw(this: *mut Self, val: u8)
pub fn cracked(&self) -> u8
pub fn set_cracked(&mut self, val: u8)
pub unsafe fn cracked_raw(this: *const Self) -> u8
pub unsafe fn set_cracked_raw(this: *mut Self, val: u8)
pub fn new_bitfield_1( abandoned: u8, giant: u8, underground: u8, airpocket: u8, basement: u8, cracked: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for StructureVariant
impl Clone for StructureVariant
Source§fn clone(&self) -> StructureVariant
fn clone(&self) -> StructureVariant
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 StructureVariant
impl Debug for StructureVariant
impl Copy for StructureVariant
Auto Trait Implementations§
impl Freeze for StructureVariant
impl RefUnwindSafe for StructureVariant
impl Send for StructureVariant
impl Sync for StructureVariant
impl Unpin for StructureVariant
impl UnwindSafe for StructureVariant
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