pub struct ShowOverlayOptions {
pub duration: Option<f64>,
}Expand description
Options for Screencast::show_overlay.
Fields§
§duration: Option<f64>How long the overlay stays on screen (milliseconds).
Trait Implementations§
Source§impl Clone for ShowOverlayOptions
impl Clone for ShowOverlayOptions
Source§fn clone(&self) -> ShowOverlayOptions
fn clone(&self) -> ShowOverlayOptions
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 ShowOverlayOptions
impl Debug for ShowOverlayOptions
Source§impl Default for ShowOverlayOptions
impl Default for ShowOverlayOptions
Source§fn default() -> ShowOverlayOptions
fn default() -> ShowOverlayOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShowOverlayOptions
impl RefUnwindSafe for ShowOverlayOptions
impl Send for ShowOverlayOptions
impl Sync for ShowOverlayOptions
impl Unpin for ShowOverlayOptions
impl UnsafeUnpin for ShowOverlayOptions
impl UnwindSafe for ShowOverlayOptions
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