Struct webrender::resource_cache::ImageGeneration
source · pub struct ImageGeneration(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl ImageGeneration
impl ImageGeneration
pub const INVALID: ImageGeneration = _
Trait Implementations§
source§impl Clone for ImageGeneration
impl Clone for ImageGeneration
source§fn clone(&self) -> ImageGeneration
fn clone(&self) -> ImageGeneration
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 ImageGeneration
impl Debug for ImageGeneration
source§impl Default for ImageGeneration
impl Default for ImageGeneration
source§fn default() -> ImageGeneration
fn default() -> ImageGeneration
Returns the “default value” for a type. Read more
source§impl PartialEq for ImageGeneration
impl PartialEq for ImageGeneration
source§impl Peek for ImageGeneration
impl Peek for ImageGeneration
source§impl Poke for ImageGeneration
impl Poke for ImageGeneration
source§impl Serialize for ImageGeneration
impl Serialize for ImageGeneration
impl Copy for ImageGeneration
impl StructuralPartialEq for ImageGeneration
Auto Trait Implementations§
impl Freeze for ImageGeneration
impl RefUnwindSafe for ImageGeneration
impl Send for ImageGeneration
impl Sync for ImageGeneration
impl Unpin for ImageGeneration
impl UnwindSafe for ImageGeneration
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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