Struct distill_loader::storage::LoadHandle [−][src]
Loading ID allocated by Loader to track loading of a particular asset
or an indirect reference to an asset.
Implementations
impl LoadHandle[src]
pub fn is_indirect(&self) -> bool[src]
Returns true if the handle needs to be resolved through the IndirectionTable before use.
An "indirect" LoadHandle represents a load operation for an identifier that is late-bound,
meaning the identifier may change which AssetUuid it resolves to.
An example of an indirect LoadHandle would be one that loads by filesystem path.
The specific asset at a path may change as files change, move or are deleted, while a direct
LoadHandle (one that addresses by AssetUuid) is guaranteed to refer to an AssetUuid for its
whole lifetime.
Trait Implementations
impl Clone for LoadHandle[src]
fn clone(&self) -> LoadHandle[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for LoadHandle[src]
impl Debug for LoadHandle[src]
impl Eq for LoadHandle[src]
impl Hash for LoadHandle[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<LoadHandle> for LoadHandle[src]
fn eq(&self, other: &LoadHandle) -> bool[src]
fn ne(&self, other: &LoadHandle) -> bool[src]
impl StructuralEq for LoadHandle[src]
impl StructuralPartialEq for LoadHandle[src]
Auto Trait Implementations
impl RefUnwindSafe for LoadHandle[src]
impl Send for LoadHandle[src]
impl Sync for LoadHandle[src]
impl Unpin for LoadHandle[src]
impl UnwindSafe for LoadHandle[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,