Enum raylib_sys::CameraMode
source · #[repr(u32)]pub enum CameraMode {
CAMERA_CUSTOM = 0,
CAMERA_FREE = 1,
CAMERA_ORBITAL = 2,
CAMERA_FIRST_PERSON = 3,
CAMERA_THIRD_PERSON = 4,
}
Variants§
CAMERA_CUSTOM = 0
CAMERA_FREE = 1
CAMERA_ORBITAL = 2
CAMERA_FIRST_PERSON = 3
CAMERA_THIRD_PERSON = 4
Trait Implementations§
source§impl Clone for CameraMode
impl Clone for CameraMode
source§fn clone(&self) -> CameraMode
fn clone(&self) -> CameraMode
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 CameraMode
impl Debug for CameraMode
source§impl Hash for CameraMode
impl Hash for CameraMode
source§impl PartialEq for CameraMode
impl PartialEq for CameraMode
source§fn eq(&self, other: &CameraMode) -> bool
fn eq(&self, other: &CameraMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CameraMode
impl Eq for CameraMode
impl StructuralPartialEq for CameraMode
Auto Trait Implementations§
impl Freeze for CameraMode
impl RefUnwindSafe for CameraMode
impl Send for CameraMode
impl Sync for CameraMode
impl Unpin for CameraMode
impl UnwindSafe for CameraMode
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