pub enum RenditionOperation {
Play = 0,
Stop = 1,
Pause = 2,
Resume = 3,
PlayOrResume = 4,
}
Expand description
The operation to perform when a rendition action is triggered.
Variants§
Play = 0
Play the rendition specified by /R, and associating it with the annotation. If a rendition is already associated with the annotation, it shall be stopped, and the new rendition shall be associated with the annotation.
Stop = 1
Stop any rendition being played in association with the annotation.
Pause = 2
Pause any rendition being played in association with the annotation.
Resume = 3
Resume any rendition being played in association with the annotation.
PlayOrResume = 4
Play the rendition specified by /R, and associating it with the annotation, or resume if a rendition is already associated.
Trait Implementations§
source§impl Clone for RenditionOperation
impl Clone for RenditionOperation
source§fn clone(&self) -> RenditionOperation
fn clone(&self) -> RenditionOperation
Returns a copy of the value. Read more
1.6.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 RenditionOperation
impl Debug for RenditionOperation
source§impl Hash for RenditionOperation
impl Hash for RenditionOperation
source§impl PartialEq for RenditionOperation
impl PartialEq for RenditionOperation
impl Copy for RenditionOperation
impl Eq for RenditionOperation
impl StructuralPartialEq for RenditionOperation
Auto Trait Implementations§
impl Freeze for RenditionOperation
impl RefUnwindSafe for RenditionOperation
impl Send for RenditionOperation
impl Sync for RenditionOperation
impl Unpin for RenditionOperation
impl UnwindSafe for RenditionOperation
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)