Enum dae_parser::DefInstance [−][src]
pub enum DefInstance<T: Instantiate> {
Def(T),
Ref(Instance<T>),
}
Variants
Ref(Instance<T>)
Tuple Fields of Ref
0: Instance<T>
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for DefInstance<T> where
T: RefUnwindSafe,
<T as Instantiate>::Data: RefUnwindSafe,
impl<T> Send for DefInstance<T> where
T: Send,
<T as Instantiate>::Data: Send,
impl<T> Sync for DefInstance<T> where
T: Sync,
<T as Instantiate>::Data: Sync,
impl<T> Unpin for DefInstance<T> where
T: Unpin,
<T as Instantiate>::Data: Unpin,
impl<T> UnwindSafe for DefInstance<T> where
T: UnwindSafe,
<T as Instantiate>::Data: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more