pub struct FirstPersonControl {
pub speed: f32,
}
Expand description
A control that makes the camera move like it is a person on the ground.
Fields§
§speed: f32
The speed of movements.
Implementations§
Trait Implementations§
Source§impl Clone for FirstPersonControl
impl Clone for FirstPersonControl
Source§fn clone(&self) -> FirstPersonControl
fn clone(&self) -> FirstPersonControl
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FirstPersonControl
impl Debug for FirstPersonControl
impl Copy for FirstPersonControl
Auto Trait Implementations§
impl Freeze for FirstPersonControl
impl RefUnwindSafe for FirstPersonControl
impl Send for FirstPersonControl
impl Sync for FirstPersonControl
impl Unpin for FirstPersonControl
impl UnwindSafe for FirstPersonControl
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