#[repr(C)]pub struct StructureConfig {
pub salt: i32,
pub regionSize: i8,
pub chunkRange: i8,
pub structType: u8,
pub dim: i8,
pub rarity: f32,
}Fields§
§salt: i32§regionSize: i8§chunkRange: i8§structType: u8§dim: i8§rarity: f32Trait Implementations§
Source§impl Clone for StructureConfig
impl Clone for StructureConfig
Source§fn clone(&self) -> StructureConfig
fn clone(&self) -> StructureConfig
Returns a duplicate 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 StructureConfig
impl Debug for StructureConfig
impl Copy for StructureConfig
Auto Trait Implementations§
impl Freeze for StructureConfig
impl RefUnwindSafe for StructureConfig
impl Send for StructureConfig
impl Sync for StructureConfig
impl Unpin for StructureConfig
impl UnwindSafe for StructureConfig
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