pub enum RdfLiteralRef<'a, V: IriVocabulary = ()> {
Any(&'a str, LiteralTypeRef<'a, V::Iri>),
Xsd(ValueRef<'a>),
Json(&'a Value),
}
Variants§
Implementations§
Source§impl<V: IriVocabulary> RdfLiteralRef<'_, V>
impl<V: IriVocabulary> RdfLiteralRef<'_, V>
pub fn into_lexical(self, vocabulary: &V) -> Literal
pub fn into_owned(self) -> RdfLiteral<V>
Trait Implementations§
Source§impl<'a, V: IriVocabulary> Clone for RdfLiteralRef<'a, V>
impl<'a, V: IriVocabulary> Clone for RdfLiteralRef<'a, V>
Source§impl<'a, V: IriVocabulary> Debug for RdfLiteralRef<'a, V>
impl<'a, V: IriVocabulary> Debug for RdfLiteralRef<'a, V>
impl<'a, V: IriVocabulary> Copy for RdfLiteralRef<'a, V>
Auto Trait Implementations§
impl<'a, V> Freeze for RdfLiteralRef<'a, V>
impl<'a, V> RefUnwindSafe for RdfLiteralRef<'a, V>
impl<'a, V = ()> !Send for RdfLiteralRef<'a, V>
impl<'a, V = ()> !Sync for RdfLiteralRef<'a, V>
impl<'a, V> Unpin for RdfLiteralRef<'a, V>
impl<'a, V> UnwindSafe for RdfLiteralRef<'a, V>
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