pub struct FlyControl {
pub speed: f32,
}
Expand description
A control that makes the camera fly through the 3D scene.
Fields§
§speed: f32
The speed of movements.
Implementations§
Trait Implementations§
Source§impl Clone for FlyControl
impl Clone for FlyControl
Source§fn clone(&self) -> FlyControl
fn clone(&self) -> FlyControl
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 FlyControl
impl Debug for FlyControl
impl Copy for FlyControl
Auto Trait Implementations§
impl Freeze for FlyControl
impl RefUnwindSafe for FlyControl
impl Send for FlyControl
impl Sync for FlyControl
impl Unpin for FlyControl
impl UnwindSafe for FlyControl
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