pub struct WebGLRSQuery<'ctx> { /* private fields */ }
Implementations§
Source§impl<'ctx> WebGLRSQuery<'ctx>
impl<'ctx> WebGLRSQuery<'ctx>
Sourcepub fn begin(&self, target: QueryTarget)
pub fn begin(&self, target: QueryTarget)
Starts an asynchronous query. The target parameter indicates which kind of query to begin.
§Arguments
target
- specifying the target of the query
Sourcepub fn result_available(&self) -> bool
pub fn result_available(&self) -> bool
Indicates whether the WebGLRSQuery
has a result available.
Trait Implementations§
Source§impl<'ctx> Clone for WebGLRSQuery<'ctx>
impl<'ctx> Clone for WebGLRSQuery<'ctx>
Source§fn clone(&self) -> WebGLRSQuery<'ctx>
fn clone(&self) -> WebGLRSQuery<'ctx>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'ctx> Freeze for WebGLRSQuery<'ctx>
impl<'ctx> RefUnwindSafe for WebGLRSQuery<'ctx>
impl<'ctx> !Send for WebGLRSQuery<'ctx>
impl<'ctx> !Sync for WebGLRSQuery<'ctx>
impl<'ctx> Unpin for WebGLRSQuery<'ctx>
impl<'ctx> UnwindSafe for WebGLRSQuery<'ctx>
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