pub struct FarmPresentationDefaults {
pub growth_fallback: Option<FarmGrowthFallback>,
}Expand description
Shared farm crop growth / harvested stages when a crop sheet omits them.
Fields§
§growth_fallback: Option<FarmGrowthFallback>Sheet with grow_10 / grow_20 / grow_60 / harvested (and similar).
Trait Implementations§
Source§impl Clone for FarmPresentationDefaults
impl Clone for FarmPresentationDefaults
Source§fn clone(&self) -> FarmPresentationDefaults
fn clone(&self) -> FarmPresentationDefaults
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 FarmPresentationDefaults
impl Debug for FarmPresentationDefaults
Source§impl Default for FarmPresentationDefaults
impl Default for FarmPresentationDefaults
Source§fn default() -> FarmPresentationDefaults
fn default() -> FarmPresentationDefaults
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FarmPresentationDefaults
impl<'de> Deserialize<'de> for FarmPresentationDefaults
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
Auto Trait Implementations§
impl Freeze for FarmPresentationDefaults
impl RefUnwindSafe for FarmPresentationDefaults
impl Send for FarmPresentationDefaults
impl Sync for FarmPresentationDefaults
impl Unpin for FarmPresentationDefaults
impl UnsafeUnpin for FarmPresentationDefaults
impl UnwindSafe for FarmPresentationDefaults
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