[−][src]Trait nphysics2d::utils::UserData
Trait to be implemented by user-defined data.
Required methods
fn clone_boxed(&self) -> Box<dyn UserData>
Clone this trait-object.
fn to_any(&self) -> Box<dyn Any + Send + Sync>
Clone as its super-trait trait objects.
fn as_any(&self) -> &(dyn Any + Send + Sync)
Downcast to Any.