[][src]Struct rdftk_core::qname::QName

pub struct QName { /* fields omitted */ }

Implementations

impl QName[src]

pub fn new(name: &str) -> Self[src]

pub fn with_prefix(prefix: &str, name: &str) -> Self[src]

pub fn prefix(&self) -> &Option<String>[src]

pub fn name(&self) -> &String[src]

pub fn as_curie(&self) -> String[src]

pub fn is_valid(part: &str) -> bool[src]

Trait Implementations

impl Clone for QName[src]

impl Debug for QName[src]

impl Display for QName[src]

impl Eq for QName[src]

impl From<QName> for Literal[src]

impl FromStr for QName[src]

type Err = RdfError

The associated error which can be returned from parsing.

impl Hash for QName[src]

impl PartialEq<QName> for QName[src]

impl StructuralEq for QName[src]

impl StructuralPartialEq for QName[src]

Auto Trait Implementations

impl RefUnwindSafe for QName

impl Send for QName

impl Sync for QName

impl Unpin for QName

impl UnwindSafe for QName

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,