Struct webrender::picture::ImageDependency
source · pub struct ImageDependency {
pub key: ImageKey,
pub generation: ImageGeneration,
}
Expand description
Information stored an image dependency
Fields§
§key: ImageKey
§generation: ImageGeneration
Implementations§
source§impl ImageDependency
impl ImageDependency
pub const INVALID: ImageDependency = _
Trait Implementations§
source§impl Clone for ImageDependency
impl Clone for ImageDependency
source§fn clone(&self) -> ImageDependency
fn clone(&self) -> ImageDependency
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 ImageDependency
impl Debug for ImageDependency
source§impl Default for ImageDependency
impl Default for ImageDependency
source§fn default() -> ImageDependency
fn default() -> ImageDependency
Returns the “default value” for a type. Read more
source§impl PartialEq for ImageDependency
impl PartialEq for ImageDependency
source§impl Peek for ImageDependency
impl Peek for ImageDependency
source§impl Poke for ImageDependency
impl Poke for ImageDependency
source§impl Serialize for ImageDependency
impl Serialize for ImageDependency
impl Copy for ImageDependency
impl StructuralPartialEq for ImageDependency
Auto Trait Implementations§
impl Freeze for ImageDependency
impl RefUnwindSafe for ImageDependency
impl Send for ImageDependency
impl Sync for ImageDependency
impl Unpin for ImageDependency
impl UnwindSafe for ImageDependency
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