pub struct DrawCommandId {
pub node_id: NodeId,
pub command_index: u32,
pub placement: DrawPlacement,
}Expand description
Stable identity of the draw command a run was recorded from: the layout
node owning the command, the command’s index in that node’s command list,
and which placement pass produced this run (a WithContent command emits
one run per placement, so the pair alone is not unique). Rendering does
not read it yet; it is the key under which retained recording state lives
as retention moves up to the draw-command recorder, and it must survive
recording, graph construction, normalized-scene creation, and renderer
cache lookup unchanged.
Fields§
§node_id: NodeId§command_index: u32§placement: DrawPlacementTrait Implementations§
Source§impl Clone for DrawCommandId
impl Clone for DrawCommandId
Source§fn clone(&self) -> DrawCommandId
fn clone(&self) -> DrawCommandId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DrawCommandId
Source§impl Debug for DrawCommandId
impl Debug for DrawCommandId
impl Eq for DrawCommandId
Source§impl Hash for DrawCommandId
impl Hash for DrawCommandId
Source§impl PartialEq for DrawCommandId
impl PartialEq for DrawCommandId
impl StructuralPartialEq for DrawCommandId
Auto Trait Implementations§
impl Freeze for DrawCommandId
impl RefUnwindSafe for DrawCommandId
impl Send for DrawCommandId
impl Sync for DrawCommandId
impl Unpin for DrawCommandId
impl UnsafeUnpin for DrawCommandId
impl UnwindSafe for DrawCommandId
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