pub enum StemDirection {
Up,
Down,
}Expand description
StemDirection
JSON schema
{
"type": "string",
"enum": [
"up",
"down"
]
}Variants§
Trait Implementations§
Source§impl Clone for StemDirection
impl Clone for StemDirection
Source§fn clone(&self) -> StemDirection
fn clone(&self) -> StemDirection
Returns a duplicate of the value. Read more
1.0.0 · 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 StemDirection
impl Debug for StemDirection
Source§impl<'de> Deserialize<'de> for StemDirection
impl<'de> Deserialize<'de> for StemDirection
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
Source§impl Display for StemDirection
impl Display for StemDirection
Source§impl From<&StemDirection> for StemDirection
impl From<&StemDirection> for StemDirection
Source§fn from(value: &StemDirection) -> Self
fn from(value: &StemDirection) -> Self
Converts to this type from the input type.
Source§impl FromStr for StemDirection
impl FromStr for StemDirection
Source§impl Hash for StemDirection
impl Hash for StemDirection
Source§impl Ord for StemDirection
impl Ord for StemDirection
Source§fn cmp(&self, other: &StemDirection) -> Ordering
fn cmp(&self, other: &StemDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StemDirection
impl PartialEq for StemDirection
Source§impl PartialOrd for StemDirection
impl PartialOrd for StemDirection
Source§impl Serialize for StemDirection
impl Serialize for StemDirection
Source§impl TryFrom<&String> for StemDirection
impl TryFrom<&String> for StemDirection
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for StemDirection
impl TryFrom<&str> for StemDirection
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for StemDirection
impl TryFrom<String> for StemDirection
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for StemDirection
impl Eq for StemDirection
impl StructuralPartialEq for StemDirection
Auto Trait Implementations§
impl Freeze for StemDirection
impl RefUnwindSafe for StemDirection
impl Send for StemDirection
impl Sync for StemDirection
impl Unpin for StemDirection
impl UnwindSafe for StemDirection
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