pub enum MovieActivation {
Play,
Dont,
Custom(ObjectId),
}Expand description
/A activation tri-state for AnnotationKind::Movie (Table 186,
round 209). The spec types /A as “boolean or dictionary”:
true ⇒ play with defaults, false ⇒ don’t play, dict ⇒ a
movie-activation dictionary with custom parameters (volume, rate,
/Start, /Duration, …). The default when /A is absent is
true per Table 186 — so a malformed annotation that omits /A
entirely surfaces MovieActivation::Play, matching what a
conforming reader would do when rendering it.
Variants§
Play
/A true (or /A absent — Table 186 default).
Dont
/A false — explicit suppression.
Custom(ObjectId)
/A << … >> as an indirect reference — custom movie-activation
dict (§13.4 movie activation parameters). Preserved as
ObjectId so callers can re-resolve.
Trait Implementations§
Source§impl Clone for MovieActivation
impl Clone for MovieActivation
Source§fn clone(&self) -> MovieActivation
fn clone(&self) -> MovieActivation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MovieActivation
impl Debug for MovieActivation
Source§impl PartialEq for MovieActivation
impl PartialEq for MovieActivation
Source§fn eq(&self, other: &MovieActivation) -> bool
fn eq(&self, other: &MovieActivation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MovieActivation
Auto Trait Implementations§
impl Freeze for MovieActivation
impl RefUnwindSafe for MovieActivation
impl Send for MovieActivation
impl Sync for MovieActivation
impl Unpin for MovieActivation
impl UnsafeUnpin for MovieActivation
impl UnwindSafe for MovieActivation
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