pub struct CaveSystem {
pub grid: VoxelGrid,
pub features: Vec<CaveFeature>,
pub entrances: Vec<(usize, usize, usize)>,
}Expand description
A complete cave system.
Fields§
§grid: VoxelGrid§features: Vec<CaveFeature>§entrances: Vec<(usize, usize, usize)>Entrance positions on the surface.
Trait Implementations§
Source§impl Clone for CaveSystem
impl Clone for CaveSystem
Source§fn clone(&self) -> CaveSystem
fn clone(&self) -> CaveSystem
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 moreAuto Trait Implementations§
impl Freeze for CaveSystem
impl RefUnwindSafe for CaveSystem
impl Send for CaveSystem
impl Sync for CaveSystem
impl Unpin for CaveSystem
impl UnsafeUnpin for CaveSystem
impl UnwindSafe for CaveSystem
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