[][src]Enum rome::graph::BlankNodeOrIRI

pub enum BlankNodeOrIRI<'g, B: 'g, I: 'g> where
    B: BlankNodePtr<'g>,
    I: IRIPtr<'g>, 
{ BlankNode(B, PhantomData<&'g u8>), IRI(I), }

An enum that contains a blank node or an IRI

Variants

This is a blank node.

This is an IRI.

Methods

impl<'g, B, I> BlankNodeOrIRI<'g, B, I> where
    B: BlankNodePtr<'g> + Clone,
    I: IRIPtr<'g> + Clone
[src]

Is the BlankNodeOrIRI a blank node?

Is the BlankNodeOrIRI an IRI?

Cast BlankNodeOrIRI to a blank node, if applicable

Cast BlankNodeOrIRI to an IRI, if applicable

Cast BlankNodeOrIRI to a Resource

Trait Implementations

impl<'g, B: PartialEq + 'g, I: PartialEq + 'g> PartialEq for BlankNodeOrIRI<'g, B, I> where
    B: BlankNodePtr<'g>,
    I: IRIPtr<'g>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'g, B: Eq + 'g, I: Eq + 'g> Eq for BlankNodeOrIRI<'g, B, I> where
    B: BlankNodePtr<'g>,
    I: IRIPtr<'g>, 
[src]

impl<'g, B: PartialOrd + 'g, I: PartialOrd + 'g> PartialOrd for BlankNodeOrIRI<'g, B, I> where
    B: BlankNodePtr<'g>,
    I: IRIPtr<'g>, 
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'g, B: Ord + 'g, I: Ord + 'g> Ord for BlankNodeOrIRI<'g, B, I> where
    B: BlankNodePtr<'g>,
    I: IRIPtr<'g>, 
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<'g, B: Clone + 'g, I: Clone + 'g> Clone for BlankNodeOrIRI<'g, B, I> where
    B: BlankNodePtr<'g>,
    I: IRIPtr<'g>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'g, B: Debug + 'g, I: Debug + 'g> Debug for BlankNodeOrIRI<'g, B, I> where
    B: BlankNodePtr<'g>,
    I: IRIPtr<'g>, 
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'g, B, I> Send for BlankNodeOrIRI<'g, B, I> where
    B: Send,
    I: Send

impl<'g, B, I> Sync for BlankNodeOrIRI<'g, B, I> where
    B: Sync,
    I: Sync

Blanket Implementations

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

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more