[][src]Enum kg_tree::opath::NodeSet

pub enum NodeSet {
    Empty,
    One(NodeRef),
    Many(Vec<NodeRef>),
}

Variants

EmptyOne(NodeRef)Many(Vec<NodeRef>)

Methods

impl NodeSet[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn is_one(&self) -> bool[src]

pub fn is_many(&self) -> bool[src]

pub fn is_lvalue(&self) -> bool[src]

pub fn into_vec(self) -> Vec<NodeRef>[src]

pub fn into_one(self) -> Option<NodeRef>[src]

pub fn as_slice(&self) -> &[NodeRef][src]

pub fn iter(&self) -> Iter<NodeRef>[src]

pub fn into_consumable(self) -> NodeSet[src]

Trait Implementations

impl Remappable for NodeSet[src]

impl Clone for NodeSet[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl IntoIterator for NodeSet[src]

type Item = NodeRef

The type of the elements being iterated over.

type IntoIter = IntoIter<NodeRef>

Which kind of iterator are we turning this into?

impl From<NodeRef> for NodeSet[src]

impl From<Vec<NodeRef>> for NodeSet[src]

impl PartialEq<NodeSet> for NodeSet[src]

impl Display for NodeSet[src]

impl Debug for NodeSet[src]

impl Serialize for NodeSet[src]

impl<'de> Deserialize<'de> for NodeSet[src]

Auto Trait Implementations

impl !Sync for NodeSet

impl !Send for NodeSet

impl Unpin for NodeSet

impl !RefUnwindSafe for NodeSet

impl !UnwindSafe for NodeSet

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]