Struct ResolverBiome
pub struct ResolverBiome {
pub temperature: f32,
pub downfall: f32,
pub colors: BiomeColors,
}Expand description
A biome as a colour resolver reads it: vanilla’s Biome in ColorResolver.getColor.
Fields§
§temperature: f32Biome.getBaseTemperature.
downfall: f32ClimateSettings.downfall.
colors: BiomeColorsIts grass, foliage, dry foliage and water colours as this client holds them, after
biome_colors.
Trait Implementations§
§impl Clone for ResolverBiome
impl Clone for ResolverBiome
§fn clone(&self) -> ResolverBiome
fn clone(&self) -> ResolverBiome
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 ResolverBiome
§impl Debug for ResolverBiome
impl Debug for ResolverBiome
§impl PartialEq for ResolverBiome
impl PartialEq for ResolverBiome
impl StructuralPartialEq for ResolverBiome
Auto Trait Implementations§
impl Freeze for ResolverBiome
impl RefUnwindSafe for ResolverBiome
impl Send for ResolverBiome
impl Sync for ResolverBiome
impl Unpin for ResolverBiome
impl UnsafeUnpin for ResolverBiome
impl UnwindSafe for ResolverBiome
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