Struct distill_loader::handle::GenericHandle[][src]

pub struct GenericHandle { /* fields omitted */ }

Handle to an asset whose type is unknown during loading.

This is returned by Loader::load_asset_generic for assets loaded by UUID.

Implementations

impl GenericHandle[src]

pub fn new(chan: Sender<RefOp>, handle: LoadHandle) -> Self[src]

Creates a new handle with HandleRefType::Strong

Trait Implementations

impl AssetHandle for GenericHandle[src]

impl Clone for GenericHandle[src]

impl Debug for GenericHandle[src]

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

impl Eq for GenericHandle[src]

impl<T: ?Sized> From<GenericHandle> for Handle<T>[src]

impl<T: ?Sized> From<Handle<T>> for GenericHandle[src]

impl Hash for GenericHandle[src]

impl PartialEq<GenericHandle> for GenericHandle[src]

impl Serialize for GenericHandle[src]

impl StructuralEq for GenericHandle[src]

impl StructuralPartialEq for GenericHandle[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<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, 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.