pub enum PlotterTextHAlign {
GrTextHAlignLeft,
GrTextHAlignCenter,
GrTextHAlignRight,
}Expand description
Horizontal text alignments emitted by the board producers.
JSON schema
{
"description": "Horizontal text alignments emitted by the board producers.",
"type": "string",
"enum": [
"GR_TEXT_H_ALIGN_LEFT",
"GR_TEXT_H_ALIGN_CENTER",
"GR_TEXT_H_ALIGN_RIGHT"
]
}Variants§
Trait Implementations§
Source§impl Clone for PlotterTextHAlign
impl Clone for PlotterTextHAlign
Source§fn clone(&self) -> PlotterTextHAlign
fn clone(&self) -> PlotterTextHAlign
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 PlotterTextHAlign
Source§impl Debug for PlotterTextHAlign
impl Debug for PlotterTextHAlign
Source§impl<'de> Deserialize<'de> for PlotterTextHAlign
impl<'de> Deserialize<'de> for PlotterTextHAlign
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 PlotterTextHAlign
impl Display for PlotterTextHAlign
impl Eq for PlotterTextHAlign
Source§impl FromStr for PlotterTextHAlign
impl FromStr for PlotterTextHAlign
Source§impl Hash for PlotterTextHAlign
impl Hash for PlotterTextHAlign
Source§impl Ord for PlotterTextHAlign
impl Ord for PlotterTextHAlign
Source§fn cmp(&self, other: &PlotterTextHAlign) -> Ordering
fn cmp(&self, other: &PlotterTextHAlign) -> Ordering
1.21.0 (const: unstable) · 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 PlotterTextHAlign
impl PartialEq for PlotterTextHAlign
Source§impl PartialOrd for PlotterTextHAlign
impl PartialOrd for PlotterTextHAlign
Source§impl Serialize for PlotterTextHAlign
impl Serialize for PlotterTextHAlign
impl StructuralPartialEq for PlotterTextHAlign
Source§impl TryFrom<&String> for PlotterTextHAlign
impl TryFrom<&String> for PlotterTextHAlign
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PlotterTextHAlign
impl TryFrom<&str> for PlotterTextHAlign
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PlotterTextHAlign
impl TryFrom<String> for PlotterTextHAlign
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PlotterTextHAlign
impl RefUnwindSafe for PlotterTextHAlign
impl Send for PlotterTextHAlign
impl Sync for PlotterTextHAlign
impl Unpin for PlotterTextHAlign
impl UnsafeUnpin for PlotterTextHAlign
impl UnwindSafe for PlotterTextHAlign
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.