pub struct DebugShape<'a> {
pub shape_id: ShapeId,
pub shape_type: ShapeType,
pub geometry: &'a ShapeGeometry,
}Expand description
Geometry snapshot passed to CreateDebugShapeCallback. (b3DebugShape)
Fields§
§shape_id: ShapeId§shape_type: ShapeType§geometry: &'a ShapeGeometryTrait Implementations§
Source§impl<'a> Clone for DebugShape<'a>
impl<'a> Clone for DebugShape<'a>
Source§fn clone(&self) -> DebugShape<'a>
fn clone(&self) -> DebugShape<'a>
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<'a> Copy for DebugShape<'a>
Auto Trait Implementations§
impl<'a> !Send for DebugShape<'a>
impl<'a> !Sync for DebugShape<'a>
impl<'a> Freeze for DebugShape<'a>
impl<'a> RefUnwindSafe for DebugShape<'a>
impl<'a> Unpin for DebugShape<'a>
impl<'a> UnsafeUnpin for DebugShape<'a>
impl<'a> UnwindSafe for DebugShape<'a>
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