pub struct AtmosphereTint {
pub grass: Option<String>,
pub foliage: Option<String>,
pub dry_foliage: Option<String>,
pub water: Option<String>,
}Expand description
An atmosphere’s tint (spec-0080 §3.1.3): the biome effects colours the
pinned data writes, each #rrggbb.
Fields§
§grass: Option<String>grass_color.
foliage: Option<String>foliage_color.
dry_foliage: Option<String>dry_foliage_color.
water: Option<String>water_color.
Trait Implementations§
Source§impl Clone for AtmosphereTint
impl Clone for AtmosphereTint
Source§impl Debug for AtmosphereTint
impl Debug for AtmosphereTint
Source§impl Default for AtmosphereTint
impl Default for AtmosphereTint
Source§impl<'de> Deserialize<'de> for AtmosphereTint
impl<'de> Deserialize<'de> for AtmosphereTint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AtmosphereTint
Source§impl JsonSchema for AtmosphereTint
impl JsonSchema for AtmosphereTint
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AtmosphereTint
impl PartialEq for AtmosphereTint
Source§impl Serialize for AtmosphereTint
impl Serialize for AtmosphereTint
impl StructuralPartialEq for AtmosphereTint
Auto Trait Implementations§
impl Freeze for AtmosphereTint
impl RefUnwindSafe for AtmosphereTint
impl Send for AtmosphereTint
impl Sync for AtmosphereTint
impl Unpin for AtmosphereTint
impl UnsafeUnpin for AtmosphereTint
impl UnwindSafe for AtmosphereTint
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