pub struct QuerySet {
pub(crate) raw: ManuallyDrop<Box<dyn DynQuerySet>>,
pub(crate) device: Arc<Device>,
pub(crate) label: String,
pub(crate) tracking_data: TrackingData,
pub(crate) desc: QuerySetDescriptor<()>,
}
Fields§
§raw: ManuallyDrop<Box<dyn DynQuerySet>>
§device: Arc<Device>
§label: String
The label
from the descriptor used to create the resource.
tracking_data: TrackingData
§desc: QuerySetDescriptor<()>
Implementations§
source§impl QuerySet
impl QuerySet
fn validate_query( self: &Arc<Self>, query_type: SimplifiedQueryType, query_index: u32, reset_state: Option<&mut QueryResetMap>, ) -> Result<(), QueryUseError>
pub(super) fn validate_and_write_timestamp( self: &Arc<Self>, raw_encoder: &mut dyn DynCommandEncoder, query_index: u32, reset_state: Option<&mut QueryResetMap>, ) -> Result<(), QueryUseError>
Trait Implementations§
source§impl Labeled for QuerySet
impl Labeled for QuerySet
source§fn label(&self) -> &str
fn label(&self) -> &str
Returns a string identifying this resource for logging and errors. Read more
fn error_ident(&self) -> ResourceErrorIdent
source§impl ParentDevice for QuerySet
impl ParentDevice for QuerySet
source§impl Trackable for QuerySet
impl Trackable for QuerySet
fn tracker_index(&self) -> TrackerIndex
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