Enum allegro_audio::Playmode
source · pub enum Playmode {
Once,
Loop,
BiDir,
}
Variants§
Implementations§
source§impl Playmode
impl Playmode
pub fn from_allegro(val: ALLEGRO_PLAYMODE) -> Playmode
pub fn get(&self) -> ALLEGRO_PLAYMODE
Trait Implementations§
source§impl Ord for Playmode
impl Ord for Playmode
source§impl PartialEq for Playmode
impl PartialEq for Playmode
source§impl PartialOrd for Playmode
impl PartialOrd for Playmode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Playmode
impl Eq for Playmode
impl StructuralPartialEq for Playmode
Auto Trait Implementations§
impl Freeze for Playmode
impl RefUnwindSafe for Playmode
impl Send for Playmode
impl Sync for Playmode
impl Unpin for Playmode
impl UnwindSafe for Playmode
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