pub struct ChapterOptions {
pub description: Option<String>,
pub duration: Option<f64>,
}Expand description
Options for Screencast::show_chapter.
Fields§
§description: Option<String>Optional second line under the chapter title.
duration: Option<f64>How long the chapter card stays on screen (milliseconds).
Trait Implementations§
Source§impl Clone for ChapterOptions
impl Clone for ChapterOptions
Source§fn clone(&self) -> ChapterOptions
fn clone(&self) -> ChapterOptions
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 ChapterOptions
impl Debug for ChapterOptions
Source§impl Default for ChapterOptions
impl Default for ChapterOptions
Source§fn default() -> ChapterOptions
fn default() -> ChapterOptions
Returns the “default value” for a type. Read more
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