pub struct Motion {
pub position: Vec3,
pub translation: Vec3,
pub grounded: bool,
pub ground_normal: Vec3,
pub support: Option<Support>,
pub stepped: bool,
pub blocked: bool,
pub candidates: usize,
/* private fields */
}Fields§
§position: Vec3§translation: Vec3§grounded: bool§ground_normal: Vec3§support: Option<Support>§stepped: bool§blocked: bool§candidates: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Motion
impl RefUnwindSafe for Motion
impl Send for Motion
impl Sync for Motion
impl Unpin for Motion
impl UnwindSafe for Motion
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