pub struct SuperFlatGenerator { /* private fields */ }
Expand description
A primitive super-flat generator that only generate the terrain from given layers, no structure is generated.
Implementations§
Trait Implementations§
Source§impl Clone for SuperFlatGenerator
impl Clone for SuperFlatGenerator
Source§fn clone(&self) -> SuperFlatGenerator
fn clone(&self) -> SuperFlatGenerator
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 SuperFlatGenerator
impl Debug for SuperFlatGenerator
Source§impl LevelGenerator for SuperFlatGenerator
impl LevelGenerator for SuperFlatGenerator
fn generate( &mut self, info: ChunkLoadRequest, ) -> Result<ProtoChunk, (LevelSourceError, ChunkLoadRequest)>
Auto Trait Implementations§
impl Freeze for SuperFlatGenerator
impl !RefUnwindSafe for SuperFlatGenerator
impl Send for SuperFlatGenerator
impl Sync for SuperFlatGenerator
impl Unpin for SuperFlatGenerator
impl !UnwindSafe for SuperFlatGenerator
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