pub struct QuerySet { /* private fields */ }
Expand description
Handle to a query set.
It can be created with Device::create_query_set
.
Corresponds to WebGPU GPUQuerySet
.
Implementations§
Source§impl QuerySet
impl QuerySet
Sourcepub fn global_id(&self) -> Id<QuerySet>
Available on crate feature expose-ids
only.
pub fn global_id(&self) -> Id<QuerySet>
expose-ids
only.Returns a globally-unique identifier for this QuerySet
.
Calling this method multiple times on the same object will always return the same value.
The returned value is guaranteed to be unique among all QuerySet
s created from the same
Instance
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QuerySet
impl !RefUnwindSafe for QuerySet
impl Send for QuerySet
impl Sync for QuerySet
impl Unpin for QuerySet
impl !UnwindSafe for QuerySet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more