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