[][src]Struct rome::ontology::classes::rdfs::Literal

pub struct Literal<'g, G: 'g> where
    G: Graph<'g>, 
{ /* fields omitted */ }

rdfs:Literal The class of literal values, eg. textual strings and integers.

Methods

impl<'g, G> Literal<'g, G> where
    G: Graph<'g>, 
[src]

http://www.w3.org/2000/01/rdf-schema#Literal

Trait Implementations

impl<'g, G> PartialEq for Literal<'g, G> where
    G: Graph<'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, G> Eq for Literal<'g, G> where
    G: Graph<'g>, 
[src]

impl<'g, G> Clone for Literal<'g, G> where
    G: Graph<'g>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'g, G> PartialOrd for Literal<'g, G> where
    G: Graph<'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, G> Ord for Literal<'g, G> where
    G: Graph<'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, G: 'g> ResourceBase<'g> for Literal<'g, G> where
    G: Graph<'g>, 
[src]

Type of the graph that on which this resource is mapped.

Wrap a [Resource][graph] with an ontology class. And link a [ResourceBase][resource] Read more

Important traits for SubjectIter<'g, R>

Iterate over all instances of this class

The Resource that underlies this wrapper.

The adapter that wraps the graph.

Important traits for ObjectIter<'g, R>

iterate over all the objects for this subject and the given predicate

Return this resource as an IRI, if it is an IRI.

impl<'g, G: 'g> Type<'g> for Literal<'g, G> where
    G: Graph<'g>, 
[src]

http://www.w3.org/1999/02/22-rdf-syntax-ns#type

Important traits for ObjectIter<'g, R>

rdf:type The subject is an instance of a class. http://www.w3.org/1999/02/22-rdf-syntax-ns#type Read more

impl<'g, G: 'g> Value<'g> for Literal<'g, G> where
    G: Graph<'g>, 
[src]

http://www.w3.org/1999/02/22-rdf-syntax-ns#value

Important traits for ObjectIter<'g, R>

rdf:value Idiomatic property used for structured values. http://www.w3.org/1999/02/22-rdf-syntax-ns#value Read more

impl<'g, G: 'g> Comment<'g> for Literal<'g, G> where
    G: Graph<'g>, 
[src]

http://www.w3.org/2000/01/rdf-schema#comment

Important traits for ObjectIter<'g, R>

rdfs:comment A description of the subject resource. http://www.w3.org/2000/01/rdf-schema#comment Read more

impl<'g, G: 'g> IsDefinedBy<'g> for Literal<'g, G> where
    G: Graph<'g>, 
[src]

http://www.w3.org/2000/01/rdf-schema#isDefinedBy

Important traits for ObjectIter<'g, R>

rdfs:isDefinedBy The defininition of the subject resource. http://www.w3.org/2000/01/rdf-schema#isDefinedBy Read more

impl<'g, G: 'g> Label<'g> for Literal<'g, G> where
    G: Graph<'g>, 
[src]

http://www.w3.org/2000/01/rdf-schema#label

Important traits for ObjectIter<'g, R>

rdfs:label A human-readable name for the subject. http://www.w3.org/2000/01/rdf-schema#label Read more

impl<'g, G: 'g> Member<'g> for Literal<'g, G> where
    G: Graph<'g>, 
[src]

http://www.w3.org/2000/01/rdf-schema#member

Important traits for ObjectIter<'g, R>

rdfs:member A member of the subject resource. http://www.w3.org/2000/01/rdf-schema#member Read more

impl<'g, G: 'g> SeeAlso<'g> for Literal<'g, G> where
    G: Graph<'g>, 
[src]

http://www.w3.org/2000/01/rdf-schema#seeAlso

Important traits for ObjectIter<'g, R>

rdfs:seeAlso Further information about the subject resource. http://www.w3.org/2000/01/rdf-schema#seeAlso Read more

Auto Trait Implementations

impl<'g, G> Send for Literal<'g, G> where
    G: Sync,
    <G as Graph<'g>>::BlankNodePtr: Send,
    <G as Graph<'g>>::IRIPtr: Send + Sync,
    <G as Graph<'g>>::LiteralPtr: Send

impl<'g, G> Sync for Literal<'g, G> where
    G: Sync,
    <G as Graph<'g>>::BlankNodePtr: Sync,
    <G as Graph<'g>>::IRIPtr: Sync,
    <G as Graph<'g>>::LiteralPtr: 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