Enum ctru::services::cam::ShutterSound
source · #[repr(u8)]pub enum ShutterSound {
Normal = 0,
Movie = 1,
MovieEnd = 2,
}
Expand description
Playable shutter sounds.
See Cam::play_shutter_sound()
to learn how to use this.
Variants§
Normal = 0
Photo shutter sound.
Movie = 1
Shutter sound to begin a movie recording.
MovieEnd = 2
Shutter sound to finish a movie recording.
Trait Implementations§
source§impl Clone for ShutterSound
impl Clone for ShutterSound
source§fn clone(&self) -> ShutterSound
fn clone(&self) -> ShutterSound
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShutterSound
impl Debug for ShutterSound
source§impl From<ShutterSound> for CAMU_ShutterSoundType
impl From<ShutterSound> for CAMU_ShutterSoundType
source§fn from(v: ShutterSound) -> Self
fn from(v: ShutterSound) -> Self
Converts to this type from the input type.
source§impl PartialEq for ShutterSound
impl PartialEq for ShutterSound
impl Copy for ShutterSound
impl Eq for ShutterSound
impl StructuralPartialEq for ShutterSound
Auto Trait Implementations§
impl RefUnwindSafe for ShutterSound
impl Send for ShutterSound
impl Sync for ShutterSound
impl Unpin for ShutterSound
impl UnwindSafe for ShutterSound
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more