pub struct Obstacle {
pub id: u64,
pub shape: ObstacleShape,
pub position: Vec3,
pub rotation: Quat,
pub membership: u32,
pub sensor: bool,
}Fields§
§id: u64Stable, unique identity within a terrain. Reuse requires a new generation/id.
shape: ObstacleShape§position: Vec3§rotation: Quat§membership: u32§sensor: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Obstacle
impl RefUnwindSafe for Obstacle
impl Send for Obstacle
impl Sync for Obstacle
impl Unpin for Obstacle
impl UnwindSafe for Obstacle
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