Struct yy_boss::YyResourceData [−][src]
pub struct YyResourceData<T: YyResource> {
pub yy_resource: T,
pub associated_data: Option<T::AssociatedData>,
}
Fields
yy_resource: T
associated_data: Option<T::AssociatedData>
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
impl<T: PartialEq + YyResource> PartialEq<YyResourceData<T>> for YyResourceData<T> where
T::AssociatedData: PartialEq,
impl<T: PartialEq + YyResource> PartialEq<YyResourceData<T>> for YyResourceData<T> where
T::AssociatedData: PartialEq,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T: PartialOrd + YyResource> PartialOrd<YyResourceData<T>> for YyResourceData<T> where
T::AssociatedData: PartialOrd,
impl<T: PartialOrd + YyResource> PartialOrd<YyResourceData<T>> for YyResourceData<T> where
T::AssociatedData: PartialOrd,
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more