Enum g_code::parse::token::Value [−][src]
Variants
A real number GCode value.
While this is often an f64 or f32,
that was converted to a string,
it is parsed as a Ratio
Integer(usize)An unsigned integer GCode value fitting in a usize. For instance, this would be the 0 in G0.
String(&'input str)A string GCode value.
Delimiting quotes are included in the value and escaped quotes are NOT unescaped.
Trait Implementations
impl<'input> From<&'_ Value<'input>> for Value<'input>[src]
impl<'input> From<&'_ Value<'input>> for Value<'input>[src]fn from(val: &ParsedValue<'input>) -> Self[src]
fn from(val: &ParsedValue<'input>) -> Self[src]Performs the conversion.
impl<'input> Eq for Value<'input>[src]
impl<'input> StructuralEq for Value<'input>[src]
impl<'input> StructuralPartialEq for Value<'input>[src]
Auto Trait Implementations
impl<'input> RefUnwindSafe for Value<'input>
impl<'input> Send for Value<'input>
impl<'input> Sync for Value<'input>
impl<'input> Unpin for Value<'input>
impl<'input> UnwindSafe for Value<'input>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more