Struct vulkano::query::QueryResultFlags
source · [−]Expand description
Flags to control how the results of a query should be retrieved.
VK_QUERY_RESULT_64_BIT
is not included, as it is determined automatically via the
QueryResultElement
trait.
Fields
wait: bool
Wait for the results to become available before writing the results.
with_availability: bool
Write an additional element to the end of each query’s results, indicating the availability of the results:
- Nonzero: The results are available, and have been written to the element(s) preceding.
- Zero: The results are not yet available, and have not been written.
partial: bool
Allow writing partial results to the buffer, instead of waiting until they are fully available.
Trait Implementations
sourceimpl Clone for QueryResultFlags
impl Clone for QueryResultFlags
sourcefn clone(&self) -> QueryResultFlags
fn clone(&self) -> QueryResultFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QueryResultFlags
impl Debug for QueryResultFlags
sourceimpl Default for QueryResultFlags
impl Default for QueryResultFlags
sourcefn default() -> QueryResultFlags
fn default() -> QueryResultFlags
Returns the “default value” for a type. Read more
sourceimpl From<QueryResultFlags> for QueryResultFlags
impl From<QueryResultFlags> for QueryResultFlags
sourcefn from(value: QueryResultFlags) -> Self
fn from(value: QueryResultFlags) -> Self
Performs the conversion.
impl Copy for QueryResultFlags
Auto Trait Implementations
impl RefUnwindSafe for QueryResultFlags
impl Send for QueryResultFlags
impl Sync for QueryResultFlags
impl Unpin for QueryResultFlags
impl UnwindSafe for QueryResultFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more