Fields
chunk_size: usize
The horizontal dimension of the chunks in this world. Default is 16 blocks wide.
max_height: usize
Max height of the world. Default is 256 blocks high.
max_light_level: u32
Max light level that light can propagate. Default is 15 blocks.
Trait Implementations
sourceimpl Default for InitConfig
impl Default for InitConfig
sourcefn default() -> InitConfig
fn default() -> InitConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InitConfig
impl<'de> Deserialize<'de> for InitConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for InitConfig
impl Serialize for InitConfig
Auto Trait Implementations
impl RefUnwindSafe for InitConfig
impl Send for InitConfig
impl Sync for InitConfig
impl Unpin for InitConfig
impl UnwindSafe for InitConfig
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
fn get_type_id(&self) -> TypeId
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default,
sourcefn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
sourcefn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls try_default
and panics on an error case.