pub enum TerrainFormat {
Heightmap1,
QuantizedMesh1,
}Expand description
Terrain format advertised in format.
Variants§
Heightmap1
Legacy heightmap-1.0 (u16 grid + child mask + extensions).
QuantizedMesh1
quantized-mesh-1.0 (mesh tiles).
Implementations§
Trait Implementations§
Source§impl Clone for TerrainFormat
impl Clone for TerrainFormat
Source§fn clone(&self) -> TerrainFormat
fn clone(&self) -> TerrainFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TerrainFormat
impl Debug for TerrainFormat
Source§impl PartialEq for TerrainFormat
impl PartialEq for TerrainFormat
Source§fn eq(&self, other: &TerrainFormat) -> bool
fn eq(&self, other: &TerrainFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TerrainFormat
impl Eq for TerrainFormat
impl StructuralPartialEq for TerrainFormat
Auto Trait Implementations§
impl Freeze for TerrainFormat
impl RefUnwindSafe for TerrainFormat
impl Send for TerrainFormat
impl Sync for TerrainFormat
impl Unpin for TerrainFormat
impl UnsafeUnpin for TerrainFormat
impl UnwindSafe for TerrainFormat
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more