[][src]Struct goods::YamlFormat

pub struct YamlFormat;
This is supported on feature="yaml-format" only.

Format that treats bytes as YAML document and deserializes asset representation with serde.

Trait Implementations

impl Clone for YamlFormat[src]

impl Copy for YamlFormat[src]

impl Debug for YamlFormat[src]

impl Default for YamlFormat[src]

impl<'de> Deserialize<'de> for YamlFormat[src]

impl Eq for YamlFormat[src]

impl<A, K> Format<A, K> for YamlFormat where
    A: Asset,
    A::Repr: DeserializeOwned
[src]

type Error = Error

Error that may occur during asset loading.

type DecodeFuture = Ready<Result<A::Repr, Self::Error>>

Asynchronous result produced by the format loading.

impl Hash for YamlFormat[src]

impl PartialEq<YamlFormat> for YamlFormat[src]

impl Serialize for YamlFormat[src]

impl StructuralEq for YamlFormat[src]

impl StructuralPartialEq for YamlFormat[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Key for T where
    T: Eq + Hash + Clone + MaybeSend + MaybeSync + 'static, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.