#[repr(transparent)]pub struct SDL_CameraPermissionState(pub c_int);Expand description
The current state of a request for camera access.
Available Since: This enum is available since SDL 3.4.0.
See Also: SDL_GetCameraPermissionState
Tuple Fields§
§0: c_intImplementations§
Trait Implementations§
Source§impl Clone for SDL_CameraPermissionState
impl Clone for SDL_CameraPermissionState
Source§fn clone(&self) -> SDL_CameraPermissionState
fn clone(&self) -> SDL_CameraPermissionState
Returns a duplicate 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 SDL_CameraPermissionState
impl Debug for SDL_CameraPermissionState
Source§impl Hash for SDL_CameraPermissionState
impl Hash for SDL_CameraPermissionState
impl Copy for SDL_CameraPermissionState
impl Eq for SDL_CameraPermissionState
impl StructuralPartialEq for SDL_CameraPermissionState
Auto Trait Implementations§
impl Freeze for SDL_CameraPermissionState
impl RefUnwindSafe for SDL_CameraPermissionState
impl Send for SDL_CameraPermissionState
impl Sync for SDL_CameraPermissionState
impl Unpin for SDL_CameraPermissionState
impl UnsafeUnpin for SDL_CameraPermissionState
impl UnwindSafe for SDL_CameraPermissionState
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