Struct webrender::device::gl::GpuFrameId
source · pub struct GpuFrameId(usize);
Expand description
Sequence number for frames, as tracked by the device layer.
Tuple Fields§
§0: usize
Implementations§
Trait Implementations§
source§impl Add<usize> for GpuFrameId
impl Add<usize> for GpuFrameId
§type Output = GpuFrameId
type Output = GpuFrameId
The resulting type after applying the
+
operator.source§impl Clone for GpuFrameId
impl Clone for GpuFrameId
source§fn clone(&self) -> GpuFrameId
fn clone(&self) -> GpuFrameId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GpuFrameId
impl Debug for GpuFrameId
source§impl Ord for GpuFrameId
impl Ord for GpuFrameId
source§fn cmp(&self, other: &GpuFrameId) -> Ordering
fn cmp(&self, other: &GpuFrameId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GpuFrameId
impl PartialEq for GpuFrameId
source§fn eq(&self, other: &GpuFrameId) -> bool
fn eq(&self, other: &GpuFrameId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GpuFrameId
impl PartialOrd for GpuFrameId
source§fn partial_cmp(&self, other: &GpuFrameId) -> Option<Ordering>
fn partial_cmp(&self, other: &GpuFrameId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for GpuFrameId
impl Serialize for GpuFrameId
impl Copy for GpuFrameId
impl Eq for GpuFrameId
impl StructuralPartialEq for GpuFrameId
Auto Trait Implementations§
impl Freeze for GpuFrameId
impl RefUnwindSafe for GpuFrameId
impl Send for GpuFrameId
impl Sync for GpuFrameId
impl Unpin for GpuFrameId
impl UnwindSafe for GpuFrameId
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more