pub enum HeightmapKind {
WorldSurfaceWg,
WorldSurface,
OceanFloorWg,
OceanFloor,
MotionBlocking,
MotionBlockingNoLeaves,
}Expand description
A type of world heightmap.
See azalea_world::heightmap for more info.
Variants§
Trait Implementations§
Source§impl AzBuf for HeightmapKind
impl AzBuf for HeightmapKind
fn azalea_write(&self, buf: &mut impl Write) -> Result<(), Error>
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl Clone for HeightmapKind
impl Clone for HeightmapKind
Source§fn clone(&self) -> HeightmapKind
fn clone(&self) -> HeightmapKind
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 HeightmapKind
impl Debug for HeightmapKind
Source§impl Display for HeightmapKind
impl Display for HeightmapKind
Source§impl FromStr for HeightmapKind
impl FromStr for HeightmapKind
Source§impl Hash for HeightmapKind
impl Hash for HeightmapKind
Source§impl PartialEq for HeightmapKind
impl PartialEq for HeightmapKind
impl Copy for HeightmapKind
impl Eq for HeightmapKind
impl StructuralPartialEq for HeightmapKind
Auto Trait Implementations§
impl Freeze for HeightmapKind
impl RefUnwindSafe for HeightmapKind
impl Send for HeightmapKind
impl Sync for HeightmapKind
impl Unpin for HeightmapKind
impl UnsafeUnpin for HeightmapKind
impl UnwindSafe for HeightmapKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more