Struct webrender::picture::SpatialNodeKey
source · pub struct SpatialNodeKey {
spatial_node_index: SpatialNodeIndex,
frame_id: FrameId,
}
Expand description
A dependency for a transform is defined by the spatial node index + frame it was used
Fields§
§spatial_node_index: SpatialNodeIndex
§frame_id: FrameId
Trait Implementations§
source§impl Clone for SpatialNodeKey
impl Clone for SpatialNodeKey
source§fn clone(&self) -> SpatialNodeKey
fn clone(&self) -> SpatialNodeKey
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 SpatialNodeKey
impl Debug for SpatialNodeKey
source§impl Default for SpatialNodeKey
impl Default for SpatialNodeKey
source§fn default() -> SpatialNodeKey
fn default() -> SpatialNodeKey
Returns the “default value” for a type. Read more
source§impl Hash for SpatialNodeKey
impl Hash for SpatialNodeKey
source§impl PartialEq for SpatialNodeKey
impl PartialEq for SpatialNodeKey
source§fn eq(&self, other: &SpatialNodeKey) -> bool
fn eq(&self, other: &SpatialNodeKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for SpatialNodeKey
impl Peek for SpatialNodeKey
source§impl Poke for SpatialNodeKey
impl Poke for SpatialNodeKey
source§impl Serialize for SpatialNodeKey
impl Serialize for SpatialNodeKey
impl Copy for SpatialNodeKey
impl Eq for SpatialNodeKey
impl StructuralPartialEq for SpatialNodeKey
Auto Trait Implementations§
impl Freeze for SpatialNodeKey
impl RefUnwindSafe for SpatialNodeKey
impl Send for SpatialNodeKey
impl Sync for SpatialNodeKey
impl Unpin for SpatialNodeKey
impl UnwindSafe for SpatialNodeKey
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