pub struct GpuFrameId(usize);Expand description
Sequence number for frames, as tracked by the device layer.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Add<usize> for GpuFrameId
 
impl Add<usize> for GpuFrameId
Source§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 duplicate 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§impl PartialOrd for GpuFrameId
 
impl PartialOrd for GpuFrameId
Source§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> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
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