pub struct ResidentNode {
pub id: NodeId,
pub point_count: u64,
pub gpu_bytes: u64,
pub last_used_generation: u64,
}Expand description
One device-resident node tracked without owning backend-specific handles.
Fields§
§id: NodeIdNode identity.
point_count: u64Resident points.
gpu_bytes: u64Resident allocation bytes.
last_used_generation: u64Last frame generation that displayed/touched this node.
Trait Implementations§
Source§impl Clone for ResidentNode
impl Clone for ResidentNode
Source§fn clone(&self) -> ResidentNode
fn clone(&self) -> ResidentNode
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 moreSource§impl Debug for ResidentNode
impl Debug for ResidentNode
Source§impl PartialEq for ResidentNode
impl PartialEq for ResidentNode
Source§fn eq(&self, other: &ResidentNode) -> bool
fn eq(&self, other: &ResidentNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ResidentNode
impl Eq for ResidentNode
impl StructuralPartialEq for ResidentNode
Auto Trait Implementations§
impl Freeze for ResidentNode
impl RefUnwindSafe for ResidentNode
impl Send for ResidentNode
impl Sync for ResidentNode
impl Unpin for ResidentNode
impl UnsafeUnpin for ResidentNode
impl UnwindSafe for ResidentNode
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