pub struct Presentation {
pub duration: Option<f64>,
pub transition: Option<Transition>,
}Expand description
How a page takes part in a presentation (ISO 32000-1 §12.4.4): its display duration and the transition that reveals it.
Fields§
§duration: Option<f64>/Dur: the seconds the page shows before the presentation advances
on its own; None leaves the page waiting for the user.
transition: Option<Transition>/Trans: the transition into this page; None without one.
Trait Implementations§
Source§impl Clone for Presentation
impl Clone for Presentation
Source§impl Debug for Presentation
impl Debug for Presentation
Source§impl PartialEq for Presentation
impl PartialEq for Presentation
impl StructuralPartialEq for Presentation
Auto Trait Implementations§
impl Freeze for Presentation
impl RefUnwindSafe for Presentation
impl Send for Presentation
impl Sync for Presentation
impl Unpin for Presentation
impl UnsafeUnpin for Presentation
impl UnwindSafe for Presentation
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