pub enum NodeRegion {
Then,
Else,
Body,
}Expand description
Which nested sub-region of the parent a node lives in.
Variants§
Trait Implementations§
Source§impl Clone for NodeRegion
impl Clone for NodeRegion
Source§fn clone(&self) -> NodeRegion
fn clone(&self) -> NodeRegion
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 NodeRegion
Source§impl Debug for NodeRegion
impl Debug for NodeRegion
Source§impl<'de> Deserialize<'de> for NodeRegion
impl<'de> Deserialize<'de> for NodeRegion
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 NodeRegion
Source§impl JsonSchema for NodeRegion
impl JsonSchema for NodeRegion
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 NodeRegion
impl PartialEq for NodeRegion
Source§impl Serialize for NodeRegion
impl Serialize for NodeRegion
impl StructuralPartialEq for NodeRegion
Auto Trait Implementations§
impl Freeze for NodeRegion
impl RefUnwindSafe for NodeRegion
impl Send for NodeRegion
impl Sync for NodeRegion
impl Unpin for NodeRegion
impl UnsafeUnpin for NodeRegion
impl UnwindSafe for NodeRegion
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