Struct BiomeColors
pub struct BiomeColors {
pub grass: u32,
pub foliage: u32,
pub dry_foliage: u32,
pub water: u32,
}Expand description
A biome’s colours as a mod may change them (native_biome_colors), each
0xRRGGBB: what tints grass (before the dark forest’s modifier; the swamp’s
noise colours replace it), leaves and vines, dry foliage (leaf litter) and
water.
Fields§
§grass: u32§foliage: u32§dry_foliage: u32§water: u32Trait Implementations§
§impl Clone for BiomeColors
impl Clone for BiomeColors
§fn clone(&self) -> BiomeColors
fn clone(&self) -> BiomeColors
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 moreimpl Copy for BiomeColors
§impl Debug for BiomeColors
impl Debug for BiomeColors
impl Eq for BiomeColors
§impl PartialEq for BiomeColors
impl PartialEq for BiomeColors
impl StructuralPartialEq for BiomeColors
Auto Trait Implementations§
impl Freeze for BiomeColors
impl RefUnwindSafe for BiomeColors
impl Send for BiomeColors
impl Sync for BiomeColors
impl Unpin for BiomeColors
impl UnsafeUnpin for BiomeColors
impl UnwindSafe for BiomeColors
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