[][src]Enum rsvg_internals::HrefError

pub enum HrefError {

Errors returned when creating an Href out of a string



The href is an invalid URI or has empty components.


A fragment identifier ("#foo") is not allowed here

For example, the SVG <image> element only allows referencing resources without fragment identifiers like xlink:href="foo.png".


A fragment identifier ("#foo") was required but not found. For example, the SVG <use> element requires one, as in <use xlink:href="foo.svg#bar">.

Trait Implementations

impl Clone for HrefError[src]

impl Debug for HrefError[src]

impl From<HrefError> for ValueErrorKind[src]

impl PartialEq<HrefError> for HrefError[src]

impl StructuralPartialEq for HrefError[src]

Auto Trait Implementations

impl RefUnwindSafe for HrefError

impl Send for HrefError

impl Sync for HrefError

impl Unpin for HrefError

impl UnwindSafe for HrefError

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,