[][src]Enum taplo::dom::ValueNode

pub enum ValueNode {
    Bool(BoolNode),
    String(StringNode),
    Integer(IntegerNode),
    Float(FloatNode),
    Array(ArrayNode),
    Date(DateNode),
    Table(TableNode),
    Invalid(SyntaxElement),
    Empty,
}

Variants

Bool(BoolNode)
String(StringNode)
Integer(IntegerNode)
Float(FloatNode)
Array(ArrayNode)
Date(DateNode)
Table(TableNode)
Invalid(SyntaxElement)
Empty

Implementations

impl ValueNode[src]

pub fn text_ranges(&self) -> TextRanges[src]

Trait Implementations

impl Cast for ValueNode[src]

impl Clone for ValueNode[src]

impl Debug for ValueNode[src]

impl Default for ValueNode[src]

impl Eq for ValueNode[src]

impl From<ValueNode> for Node[src]

impl Hash for ValueNode[src]

impl NodeSyntax for ValueNode[src]

impl PartialEq<ValueNode> for ValueNode[src]

impl Rewrite for ValueNode[src]

type Builder = ValueNode

impl StructuralEq for ValueNode[src]

impl StructuralPartialEq for ValueNode[src]

impl TryFrom<ValueNode> for Value[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl !RefUnwindSafe for ValueNode

impl !Send for ValueNode

impl !Sync for ValueNode

impl Unpin for ValueNode

impl !UnwindSafe for ValueNode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.