pub enum TransportState {
Stopped,
Paused,
Playing,
}Expand description
Play/stop/pause state of the Transport.
Variants§
Stopped
Stopped; advance does nothing and position is anchored.
Paused
Paused; position is held but not reset.
Playing
Playing; advance moves the position forward.
Trait Implementations§
Source§impl Clone for TransportState
impl Clone for TransportState
impl Copy for TransportState
Source§impl Debug for TransportState
impl Debug for TransportState
impl Eq for TransportState
Source§impl PartialEq for TransportState
impl PartialEq for TransportState
impl StructuralPartialEq for TransportState
Auto Trait Implementations§
impl Freeze for TransportState
impl RefUnwindSafe for TransportState
impl Send for TransportState
impl Sync for TransportState
impl Unpin for TransportState
impl UnsafeUnpin for TransportState
impl UnwindSafe for TransportState
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