pub enum ArgValue {
Math(NodeId),
Text(NodeId),
Delimiter(DelimiterValue),
CSName(String),
Dimension(String),
Integer(String),
KeyVal(String),
Column(String),
Boolean(bool),
}Expand description
Write-side command/environment argument value.
Variants§
Math(NodeId)
Text(NodeId)
Delimiter(DelimiterValue)
CSName(String)
Dimension(String)
Integer(String)
KeyVal(String)
Column(String)
Boolean(bool)
Implementations§
Source§impl ArgValue
impl ArgValue
pub fn math(id: NodeId) -> Self
pub fn text(id: NodeId) -> Self
pub fn delimiter(delimiter: DelimiterValue) -> Self
pub fn cs_name(value: impl Into<String>) -> Self
pub fn dimension(value: impl Into<String>) -> Self
pub fn integer(value: impl Into<String>) -> Self
pub fn key_val(value: impl Into<String>) -> Self
pub fn column(value: impl Into<String>) -> Self
pub fn boolean(value: bool) -> Self
Trait Implementations§
impl Eq for ArgValue
impl StructuralPartialEq for ArgValue
Auto Trait Implementations§
impl Freeze for ArgValue
impl RefUnwindSafe for ArgValue
impl Send for ArgValue
impl Sync for ArgValue
impl Unpin for ArgValue
impl UnsafeUnpin for ArgValue
impl UnwindSafe for ArgValue
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.