Struct webrender::render_task_graph::RenderTaskId
source · pub struct RenderTaskId {
pub index: u32,
}
Fields§
§index: u32
Implementations§
source§impl RenderTaskId
impl RenderTaskId
pub const INVALID: RenderTaskId = _
Trait Implementations§
source§impl Clone for RenderTaskId
impl Clone for RenderTaskId
source§fn clone(&self) -> RenderTaskId
fn clone(&self) -> RenderTaskId
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 RenderTaskId
impl Debug for RenderTaskId
source§impl Hash for RenderTaskId
impl Hash for RenderTaskId
source§impl Index<RenderTaskId> for RenderTaskGraph
impl Index<RenderTaskId> for RenderTaskGraph
Batching uses index access to read information about tasks
§type Output = RenderTask
type Output = RenderTask
The returned type after indexing.
source§fn index(&self, id: RenderTaskId) -> &RenderTask
fn index(&self, id: RenderTaskId) -> &RenderTask
Performs the indexing (
container[index]
) operation. Read moresource§impl Into<RenderTaskAddress> for RenderTaskId
impl Into<RenderTaskAddress> for RenderTaskId
source§fn into(self) -> RenderTaskAddress
fn into(self) -> RenderTaskAddress
Converts this type into the (usually inferred) input type.
source§impl MallocSizeOf for RenderTaskId
impl MallocSizeOf for RenderTaskId
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq for RenderTaskId
impl PartialEq for RenderTaskId
source§fn eq(&self, other: &RenderTaskId) -> bool
fn eq(&self, other: &RenderTaskId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RenderTaskId
impl Serialize for RenderTaskId
impl Copy for RenderTaskId
impl Eq for RenderTaskId
impl StructuralPartialEq for RenderTaskId
Auto Trait Implementations§
impl Freeze for RenderTaskId
impl RefUnwindSafe for RenderTaskId
impl Send for RenderTaskId
impl Sync for RenderTaskId
impl Unpin for RenderTaskId
impl UnwindSafe for RenderTaskId
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