#[non_exhaustive]pub struct ChapterOptions {
pub description: Option<String>,
pub duration: Option<f64>,
}Expand description
Options for Screencast::show_chapter.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.description: Option<String>Optional second line under the chapter title.
duration: Option<f64>How long the chapter card stays on screen (milliseconds).
Implementations§
Trait Implementations§
Source§impl Clone for ChapterOptions
impl Clone for ChapterOptions
Source§impl Debug for ChapterOptions
impl Debug for ChapterOptions
Auto Trait Implementations§
impl Freeze for ChapterOptions
impl RefUnwindSafe for ChapterOptions
impl Send for ChapterOptions
impl Sync for ChapterOptions
impl Unpin for ChapterOptions
impl UnsafeUnpin for ChapterOptions
impl UnwindSafe for ChapterOptions
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