Struct physx::traits::descriptor::ShapeDescriptor
source · [−]pub struct ShapeDescriptor<'a, U, G: Geometry, M: Material> {
pub geometry: &'a G,
pub materials: &'a mut [&'a mut M],
pub is_exclusive: bool,
pub shape_flags: ShapeFlags,
pub user_data: U,
}
Fields
geometry: &'a G
materials: &'a mut [&'a mut M]
is_exclusive: bool
shape_flags: ShapeFlags
user_data: U
Trait Implementations
Auto Trait Implementations
impl<'a, U, G, M> RefUnwindSafe for ShapeDescriptor<'a, U, G, M>where
G: RefUnwindSafe,
M: RefUnwindSafe,
U: RefUnwindSafe,
impl<'a, U, G, M> Send for ShapeDescriptor<'a, U, G, M>where
G: Sync,
M: Send,
U: Send,
impl<'a, U, G, M> Sync for ShapeDescriptor<'a, U, G, M>where
G: Sync,
M: Sync,
U: Sync,
impl<'a, U, G, M> Unpin for ShapeDescriptor<'a, U, G, M>where
U: Unpin,
impl<'a, U, G, M> !UnwindSafe for ShapeDescriptor<'a, U, G, M>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more