pub struct CameraState {
pub position: Vec3,
pub target: Vec3,
pub zoom: f32,
}Fields§
§position: Vec3§target: Vec3§zoom: f32Trait Implementations§
Source§impl Clone for CameraState
impl Clone for CameraState
impl Copy for CameraState
Auto Trait Implementations§
impl Forget for CameraState
impl Freeze for CameraState
impl Move for CameraState
impl RefUnwindSafe for CameraState
impl Send for CameraState
impl Sync for CameraState
impl Unpin for CameraState
impl UnsafeUnpin for CameraState
impl UnwindSafe for CameraState
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