Enum BiomeColourChange
pub enum BiomeColourChange {
Set {
rgb: u32,
},
Remove,
}Expand description
A change to a colour that 26.3 treats as an optional override of the biome’s effects.
Variants§
Set
Sets the colour, 24-bit RGB (0..=0xFFFFFF).
Remove
Removes the override, so the colour comes from the colormap again.
Trait Implementations§
§impl Clone for BiomeColourChange
impl Clone for BiomeColourChange
§fn clone(&self) -> BiomeColourChange
fn clone(&self) -> BiomeColourChange
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 BiomeColourChange
§impl Debug for BiomeColourChange
impl Debug for BiomeColourChange
impl Eq for BiomeColourChange
§impl PartialEq for BiomeColourChange
impl PartialEq for BiomeColourChange
impl StructuralPartialEq for BiomeColourChange
Auto Trait Implementations§
impl Freeze for BiomeColourChange
impl RefUnwindSafe for BiomeColourChange
impl Send for BiomeColourChange
impl Sync for BiomeColourChange
impl Unpin for BiomeColourChange
impl UnsafeUnpin for BiomeColourChange
impl UnwindSafe for BiomeColourChange
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