[][src]Struct yy_boss::YyResourceData

pub struct YyResourceData<T: YyResource> {
    pub yy_resource: T,
    pub associated_data: Option<T::AssociatedData>,
}

Fields

yy_resource: Tassociated_data: Option<T::AssociatedData>

Trait Implementations

impl<T: YyResource + Debug> Debug for YyResourceData<T>[src]

impl<T: Default + YyResource> Default for YyResourceData<T> where
    T::AssociatedData: Default
[src]

impl<T: Eq + YyResource> Eq for YyResourceData<T> where
    T::AssociatedData: Eq
[src]

impl<T: YyResource> Into<(T, Option<<T as YyResource>::AssociatedData>)> for YyResourceData<T>[src]

impl<T: Ord + YyResource> Ord for YyResourceData<T> where
    T::AssociatedData: Ord
[src]

impl<T: PartialEq + YyResource> PartialEq<YyResourceData<T>> for YyResourceData<T> where
    T::AssociatedData: PartialEq
[src]

impl<T: PartialOrd + YyResource> PartialOrd<YyResourceData<T>> for YyResourceData<T> where
    T::AssociatedData: PartialOrd
[src]

impl<T: YyResource> StructuralEq for YyResourceData<T>[src]

impl<T: YyResource> StructuralPartialEq for YyResourceData<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for YyResourceData<T> where
    T: RefUnwindSafe,
    <T as YyResource>::AssociatedData: RefUnwindSafe
[src]

impl<T> Send for YyResourceData<T> where
    T: Send,
    <T as YyResource>::AssociatedData: Send
[src]

impl<T> Sync for YyResourceData<T> where
    T: Sync,
    <T as YyResource>::AssociatedData: Sync
[src]

impl<T> Unpin for YyResourceData<T> where
    T: Unpin,
    <T as YyResource>::AssociatedData: Unpin
[src]

impl<T> UnwindSafe for YyResourceData<T> where
    T: UnwindSafe,
    <T as YyResource>::AssociatedData: UnwindSafe
[src]

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> From<T> for T[src]

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

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,