pub struct DebugShapeHandle {
pub index: u32,
pub generation: u32,
}Expand description
Stable typed handle for a persistent Box3D debug shape asset.
Fields§
§index: u32Slot index owned by the debug shape store.
generation: u32Generation used to reject stale renderer cache entries.
Implementations§
Trait Implementations§
Source§impl Clone for DebugShapeHandle
impl Clone for DebugShapeHandle
Source§fn clone(&self) -> DebugShapeHandle
fn clone(&self) -> DebugShapeHandle
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 DebugShapeHandle
Source§impl Debug for DebugShapeHandle
impl Debug for DebugShapeHandle
impl Eq for DebugShapeHandle
Source§impl Hash for DebugShapeHandle
impl Hash for DebugShapeHandle
Source§impl PartialEq for DebugShapeHandle
impl PartialEq for DebugShapeHandle
Source§fn eq(&self, other: &DebugShapeHandle) -> bool
fn eq(&self, other: &DebugShapeHandle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DebugShapeHandle
Auto Trait Implementations§
impl Freeze for DebugShapeHandle
impl RefUnwindSafe for DebugShapeHandle
impl Send for DebugShapeHandle
impl Sync for DebugShapeHandle
impl Unpin for DebugShapeHandle
impl UnsafeUnpin for DebugShapeHandle
impl UnwindSafe for DebugShapeHandle
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