#[repr(transparent)]pub struct CameraState(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl CameraState
impl CameraState
Sourcepub const fn as_se(&self) -> Option<CameraStateSE>
pub const fn as_se(&self) -> Option<CameraStateSE>
Try to cast valid enum for SE, AE.
Sourcepub const fn as_vr(&self) -> Option<CameraStateVR>
pub const fn as_vr(&self) -> Option<CameraStateVR>
Try to cast valid enum for VR.
Trait Implementations§
Source§impl Clone for CameraState
impl Clone for CameraState
Source§fn clone(&self) -> CameraState
fn clone(&self) -> CameraState
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 CameraState
impl Debug for CameraState
Source§impl From<CameraStateSE> for CameraState
impl From<CameraStateSE> for CameraState
Source§fn from(value: CameraStateSE) -> Self
fn from(value: CameraStateSE) -> Self
Converts to this type from the input type.
Source§impl From<CameraStateVR> for CameraState
impl From<CameraStateVR> for CameraState
Source§fn from(value: CameraStateVR) -> Self
fn from(value: CameraStateVR) -> Self
Converts to this type from the input type.
Source§impl Hash for CameraState
impl Hash for CameraState
Source§impl Ord for CameraState
impl Ord for CameraState
Source§fn cmp(&self, other: &CameraState) -> Ordering
fn cmp(&self, other: &CameraState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CameraState
impl PartialEq for CameraState
Source§impl PartialOrd for CameraState
impl PartialOrd for CameraState
impl Copy for CameraState
impl Eq for CameraState
impl StructuralPartialEq for CameraState
Auto Trait Implementations§
impl Freeze for CameraState
impl RefUnwindSafe for CameraState
impl Send for CameraState
impl Sync for CameraState
impl Unpin 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