Struct classicube_sys::_CameraData
source · #[repr(C)]pub struct _CameraData {Show 14 fields
pub Sensitivity: c_int,
pub Smooth: cc_bool,
pub Clipping: cc_bool,
pub Invert: cc_bool,
pub TiltM: Matrix,
pub BobbingVer: f32,
pub BobbingHor: f32,
pub CurrentPos: Vec3,
pub Active: *mut Camera,
pub Mass: f32,
pub Fov: c_int,
pub DefaultFov: c_int,
pub ZoomFov: c_int,
pub TiltPitch: f32,
}
Fields§
§Sensitivity: c_int
§Smooth: cc_bool
§Clipping: cc_bool
§Invert: cc_bool
§TiltM: Matrix
§BobbingVer: f32
§BobbingHor: f32
§CurrentPos: Vec3
§Active: *mut Camera
§Mass: f32
§Fov: c_int
§DefaultFov: c_int
§ZoomFov: c_int
§TiltPitch: f32
Trait Implementations§
source§impl Clone for _CameraData
impl Clone for _CameraData
source§fn clone(&self) -> _CameraData
fn clone(&self) -> _CameraData
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 _CameraData
impl Debug for _CameraData
source§impl PartialEq for _CameraData
impl PartialEq for _CameraData
source§fn eq(&self, other: &_CameraData) -> bool
fn eq(&self, other: &_CameraData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _CameraData
impl StructuralPartialEq for _CameraData
Auto Trait Implementations§
impl Freeze for _CameraData
impl RefUnwindSafe for _CameraData
impl !Send for _CameraData
impl !Sync for _CameraData
impl Unpin for _CameraData
impl UnwindSafe for _CameraData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)