Trait wgpu_core::track::ResourceUses
source · pub(crate) trait ResourceUses:
Debug
+ BitAnd<Output = Self>
+ BitOr<Output = Self>
+ PartialEq
+ Sized
+ Copy {
type Selector: Debug;
const EXCLUSIVE: Self;
// Required methods
fn bits(self) -> u16;
fn all_ordered(self) -> bool;
fn any_exclusive(self) -> bool;
}
Expand description
The uses that a resource or subresource can be in.
Required Associated Types§
Required Associated Constants§
Required Methods§
sourcefn all_ordered(self) -> bool
fn all_ordered(self) -> bool
Returns true if the all the uses are ordered.
sourcefn any_exclusive(self) -> bool
fn any_exclusive(self) -> bool
Returns true if any of the uses are exclusive.
Object Safety§
This trait is not object safe.