pub struct SubjectsPropertyValue<RDF: SRDF> { /* private fields */ }
Trait Implementations§
Source§impl<RDF> RDFNodeParse<RDF> for SubjectsPropertyValue<RDF>where
RDF: FocusRDF,
impl<RDF> RDFNodeParse<RDF> for SubjectsPropertyValue<RDF>where
RDF: FocusRDF,
Source§type Output = Vec<<RDF as SRDFBasic>::Subject>
type Output = Vec<<RDF as SRDFBasic>::Subject>
The type which is returned if the parser is successful.
Source§fn parse_impl(&mut self, rdf: &mut RDF) -> PResult<Vec<RDF::Subject>>
fn parse_impl(&mut self, rdf: &mut RDF) -> PResult<Vec<RDF::Subject>>
Parses the current focus node without modifying the state
fn by_ref(&mut self) -> ByRef<'_, Self>where
Self: Sized,
Source§fn and_then<F, O, E>(self, f: F) -> AndThen<Self, F>
fn and_then<F, O, E>(self, f: F) -> AndThen<Self, F>
Parses with
self
and applies f
on the result if self
parses successfully.
f
may optionally fail with an error which is automatically converted to a RDFParseError
. Read moreSource§fn and<P2>(self, parser: P2) -> (Self, P2)where
Self: Sized,
P2: RDFNodeParse<RDF>,
fn and<P2>(self, parser: P2) -> (Self, P2)where
Self: Sized,
P2: RDFNodeParse<RDF>,
Parses
self
followed by p
.
Succeeds if both parsers succeed, otherwise fails.
Returns a tuple with both values on success. Read moreSource§fn then<N, F>(self, f: F) -> Then<Self, F>
fn then<N, F>(self, f: F) -> Then<Self, F>
Parses using
self
and then passes the value to f
which returns a parser used to parse
the rest of the input.Source§fn then_ref<N, F>(self, f: F) -> ThenRef<Self, F>
fn then_ref<N, F>(self, f: F) -> ThenRef<Self, F>
Parses using
self
and then passes a reference to the value to f
which returns a parser used to parse
the rest of the input.Source§fn then_mut<N, F>(self, f: F) -> ThenMut<Self, F>
fn then_mut<N, F>(self, f: F) -> ThenMut<Self, F>
Parses using
self
and then passes a reference to the mutable value to f
which returns a parser used to parse
the rest of the input. Read moreSource§fn or<P2>(self, parser: P2) -> Or<Self, P2>
fn or<P2>(self, parser: P2) -> Or<Self, P2>
Returns a parser which attempts to parse using
self
. If self
fails then it attempts parser
. Read moreAuto Trait Implementations§
impl<RDF> Freeze for SubjectsPropertyValue<RDF>
impl<RDF> RefUnwindSafe for SubjectsPropertyValue<RDF>where
<RDF as SRDFBasic>::IRI: RefUnwindSafe,
<RDF as SRDFBasic>::Term: RefUnwindSafe,
RDF: RefUnwindSafe,
impl<RDF> Send for SubjectsPropertyValue<RDF>
impl<RDF> Sync for SubjectsPropertyValue<RDF>
impl<RDF> Unpin for SubjectsPropertyValue<RDF>
impl<RDF> UnwindSafe for SubjectsPropertyValue<RDF>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more