pub struct Animation {Show 23 fields
pub shape: ShapeId,
pub class: AnimClass,
pub effect: String,
pub option: String,
pub start: AnimStart,
pub duration_ms: u32,
pub delay_ms: u32,
pub repeat: u32,
pub rewind: bool,
pub text_build: TextBuild,
pub paragraph: Option<u32>,
pub path: Option<String>,
pub trigger: Option<ShapeId>,
pub amount: Option<f64>,
pub color: Option<ColorRef>,
pub preset_id: Option<u32>,
pub preset_subtype: Option<u32>,
pub after: Option<String>,
pub sound: Option<MediaId>,
pub smooth_start: f64,
pub smooth_end: f64,
pub bounce_end: f64,
pub auto_reverse: bool,
}Fields§
§shape: ShapeId§class: AnimClass§effect: StringEffect id from ANIMATIONS (e.g. fade, fly, zoom, spin, pulse, lines…).
option: StringEffect option (direction etc.).
start: AnimStart§duration_ms: u32§delay_ms: u32§repeat: u32Repeat count (0/1 = once); u32::MAX = until next click.
rewind: bool§text_build: TextBuild§paragraph: Option<u32>Paragraph index when the effect animates one paragraph of a text body.
path: Option<String>Motion path in slide-relative units (SVG-like M 0 0 L 0.25 0 E).
trigger: Option<ShapeId>Triggered by a click on another shape.
amount: Option<f64>Emphasis amount: spin degrees, grow/shrink scale (1.5 = 150%), transparency…
color: Option<ColorRef>Emphasis colour (fill/line/font colour change).
preset_id: Option<u32>PowerPoint preset id/subtype read from or written to files.
preset_subtype: Option<u32>§after: Option<String>After animation: dim to colour, hide, hide on next click.
sound: Option<MediaId>§smooth_start: f64§smooth_end: f64§bounce_end: f64§auto_reverse: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Animation
impl<'de> Deserialize<'de> for Animation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Animation
Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnsafeUnpin for Animation
impl UnwindSafe for Animation
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