pub enum TreeKind {
Oak,
}Expand description
A tree species for the plant verb (spec-0017). One species per
canopy-rule implementation; the shipped rule set is the lean-or-grow oak.
Variants§
Oak
Small hand-shaped oak (3–4 logs, 5-wide leaf ball) with the lean-or-grow corridor rules.
Trait Implementations§
impl Copy for TreeKind
Source§impl<'de> Deserialize<'de> for TreeKind
impl<'de> Deserialize<'de> for TreeKind
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 TreeKind
Source§impl JsonSchema for TreeKind
impl JsonSchema for TreeKind
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 moreimpl StructuralPartialEq for TreeKind
Auto Trait Implementations§
impl Freeze for TreeKind
impl RefUnwindSafe for TreeKind
impl Send for TreeKind
impl Sync for TreeKind
impl Unpin for TreeKind
impl UnsafeUnpin for TreeKind
impl UnwindSafe for TreeKind
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