pub struct DrawCommandId {
pub node_id: NodeId,
pub command_index: u32,
pub placement: DrawPlacement,
}Expand description
Stable identity of one placement of a draw command: its layout node,
command index and placement pass. A WithContent command shares one CPU
recording between its two runs, while each placement retains independent
renderer state under this identity.
Fields§
§node_id: NodeId§command_index: u32§placement: DrawPlacementTrait Implementations§
Source§impl Clone for DrawCommandId
impl Clone for DrawCommandId
impl 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