[−][src]Struct rome::ontology::classes::rdf::Alt
rdf:Alt The class of containers of alternatives.
Methods
impl<'g, G> Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G> Alt<'g, G> where
G: Graph<'g>,
Trait Implementations
impl<'g, G> PartialEq for Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G> PartialEq for Alt<'g, G> where
G: Graph<'g>,
fn eq(&self, rhs: &Alt<'g, G>) -> bool
[src]
fn eq(&self, rhs: &Alt<'g, G>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<'g, G> Eq for Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G> Eq for Alt<'g, G> where
G: Graph<'g>,
impl<'g, G> Clone for Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G> Clone for Alt<'g, G> where
G: Graph<'g>,
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'g, G> PartialOrd for Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G> PartialOrd for Alt<'g, G> where
G: Graph<'g>,
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
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 Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G> Ord for Alt<'g, G> where
G: Graph<'g>,
fn cmp(&self, other: &Self) -> Ordering
[src]
fn cmp(&self, other: &Self) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl<'g, G: 'g> ResourceBase<'g> for Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G: 'g> ResourceBase<'g> for Alt<'g, G> where
G: Graph<'g>,
type Graph = G
Type of the graph that on which this resource is mapped.
type SubjectIter = SubjectIter<'g, Self>
fn new(
resource: Resource<'g, <Self::Graph as Graph<'g>>::BlankNodePtr, <Self::Graph as Graph<'g>>::IRIPtr, <Self::Graph as Graph<'g>>::LiteralPtr>,
adapter: &'g OntologyAdapter<'g, Self::Graph>
) -> Self
[src]
fn new(
resource: Resource<'g, <Self::Graph as Graph<'g>>::BlankNodePtr, <Self::Graph as Graph<'g>>::IRIPtr, <Self::Graph as Graph<'g>>::LiteralPtr>,
adapter: &'g OntologyAdapter<'g, Self::Graph>
) -> Self
Wrap a [Resource
][graph] with an ontology class. And link a [ResourceBase
][resource] Read more
ⓘImportant traits for SubjectIter<'g, R>fn iter(adapter: &'g OntologyAdapter<'g, Self::Graph>) -> SubjectIter<'g, Self>
[src]
fn iter(adapter: &'g OntologyAdapter<'g, Self::Graph>) -> SubjectIter<'g, Self>
Iterate over all instances of this class
fn this(
&self
) -> &Resource<'g, <Self::Graph as Graph<'g>>::BlankNodePtr, <Self::Graph as Graph<'g>>::IRIPtr, <Self::Graph as Graph<'g>>::LiteralPtr>
[src]
fn this(
&self
) -> &Resource<'g, <Self::Graph as Graph<'g>>::BlankNodePtr, <Self::Graph as Graph<'g>>::IRIPtr, <Self::Graph as Graph<'g>>::LiteralPtr>
The Resource that underlies this wrapper.
fn adapter(&self) -> &'g OntologyAdapter<'g, Self::Graph>
[src]
fn adapter(&self) -> &'g OntologyAdapter<'g, Self::Graph>
The adapter that wraps the graph.
ⓘImportant traits for ObjectIter<'g, R>fn iter_objects<O>(
&self,
predicate: Option<&<Self::Graph as Graph<'g>>::IRIPtr>
) -> ObjectIter<'g, O> where
O: ResourceBase<'g, Graph = Self::Graph>,
Self: 'g,
[src]
fn iter_objects<O>(
&self,
predicate: Option<&<Self::Graph as Graph<'g>>::IRIPtr>
) -> ObjectIter<'g, O> where
O: ResourceBase<'g, Graph = Self::Graph>,
Self: 'g,
iterate over all the objects for this subject and the given predicate
fn iri(&self) -> Option<IRI<'g, Self>>
[src]
fn iri(&self) -> Option<IRI<'g, Self>>
Return this resource as an IRI, if it is an IRI.
impl<'g, G: 'g> Type<'g> for Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G: 'g> Type<'g> for Alt<'g, G> where
G: Graph<'g>,
fn property_iri() -> &'static str
[src]
fn property_iri() -> &'static str
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
ⓘImportant traits for ObjectIter<'g, R>fn a<G>(&self) -> ObjectIter<'g, Class<'g, G>> where
Class<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
[src]
fn a<G>(&self) -> ObjectIter<'g, Class<'g, G>> where
Class<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
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 Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G: 'g> Value<'g> for Alt<'g, G> where
G: Graph<'g>,
fn property_iri() -> &'static str
[src]
fn property_iri() -> &'static str
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
ⓘImportant traits for ObjectIter<'g, R>fn value<G>(&self) -> ObjectIter<'g, Resource<'g, G>> where
Resource<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
[src]
fn value<G>(&self) -> ObjectIter<'g, Resource<'g, G>> where
Resource<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
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 Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G: 'g> Comment<'g> for Alt<'g, G> where
G: Graph<'g>,
fn property_iri() -> &'static str
[src]
fn property_iri() -> &'static str
http://www.w3.org/2000/01/rdf-schema#comment
ⓘImportant traits for ObjectIter<'g, R>fn comment<G>(&self) -> ObjectIter<'g, Literal<'g, G>> where
Literal<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
[src]
fn comment<G>(&self) -> ObjectIter<'g, Literal<'g, G>> where
Literal<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
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 Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G: 'g> IsDefinedBy<'g> for Alt<'g, G> where
G: Graph<'g>,
fn property_iri() -> &'static str
[src]
fn property_iri() -> &'static str
http://www.w3.org/2000/01/rdf-schema#isDefinedBy
ⓘImportant traits for ObjectIter<'g, R>fn is_defined_by<G>(&self) -> ObjectIter<'g, Resource<'g, G>> where
Resource<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
[src]
fn is_defined_by<G>(&self) -> ObjectIter<'g, Resource<'g, G>> where
Resource<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
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 Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G: 'g> Label<'g> for Alt<'g, G> where
G: Graph<'g>,
fn property_iri() -> &'static str
[src]
fn property_iri() -> &'static str
http://www.w3.org/2000/01/rdf-schema#label
ⓘImportant traits for ObjectIter<'g, R>fn label<G>(&self) -> ObjectIter<'g, Literal<'g, G>> where
Literal<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
[src]
fn label<G>(&self) -> ObjectIter<'g, Literal<'g, G>> where
Literal<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
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 Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G: 'g> Member<'g> for Alt<'g, G> where
G: Graph<'g>,
fn property_iri() -> &'static str
[src]
fn property_iri() -> &'static str
http://www.w3.org/2000/01/rdf-schema#member
ⓘImportant traits for ObjectIter<'g, R>fn member<G>(&self) -> ObjectIter<'g, Resource<'g, G>> where
Resource<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
[src]
fn member<G>(&self) -> ObjectIter<'g, Resource<'g, G>> where
Resource<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
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 Alt<'g, G> where
G: Graph<'g>,
[src]
impl<'g, G: 'g> SeeAlso<'g> for Alt<'g, G> where
G: Graph<'g>,
fn property_iri() -> &'static str
[src]
fn property_iri() -> &'static str
http://www.w3.org/2000/01/rdf-schema#seeAlso
ⓘImportant traits for ObjectIter<'g, R>fn see_also<G>(&self) -> ObjectIter<'g, Resource<'g, G>> where
Resource<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
[src]
fn see_also<G>(&self) -> ObjectIter<'g, Resource<'g, G>> where
Resource<'g, G>: ResourceBase<'g, Graph = Self::Graph>,
G: Graph<'g>,
Self: 'g,
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 Alt<'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> Send for Alt<'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 Alt<'g, G> where
G: Sync,
<G as Graph<'g>>::BlankNodePtr: Sync,
<G as Graph<'g>>::IRIPtr: Sync,
<G as Graph<'g>>::LiteralPtr: Sync,
impl<'g, G> Sync for Alt<'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]
impl<T> ToOwned for T where
T: Clone,
type Owned = T
fn to_owned(&self) -> T
[src]
fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src]
fn clone_into(&self, target: &mut T)
🔬 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]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 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