pub struct FastForwardingOverride {
pub ratio: FastForwardRatio,
pub fastforward: bool,
pub notification: bool,
pub inhibit_toggle: bool,
}Fields§
§ratio: FastForwardRatio§fastforward: bool§notification: bool§inhibit_toggle: boolImplementations§
Source§impl FastForwardingOverride
impl FastForwardingOverride
pub fn enable() -> Self
pub fn disable() -> Self
pub fn with_ratio(self, ratio: FastForwardRatio) -> Self
pub fn with_notification(self, notification: bool) -> Self
pub fn with_inhibit_toggle(self, inhibit_toggle: bool) -> Self
Trait Implementations§
Source§impl Clone for FastForwardingOverride
impl Clone for FastForwardingOverride
Source§fn clone(&self) -> FastForwardingOverride
fn clone(&self) -> FastForwardingOverride
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 FastForwardingOverride
impl Debug for FastForwardingOverride
Source§impl PartialEq for FastForwardingOverride
impl PartialEq for FastForwardingOverride
Source§fn eq(&self, other: &FastForwardingOverride) -> bool
fn eq(&self, other: &FastForwardingOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FastForwardingOverride
impl StructuralPartialEq for FastForwardingOverride
Auto Trait Implementations§
impl Freeze for FastForwardingOverride
impl RefUnwindSafe for FastForwardingOverride
impl Send for FastForwardingOverride
impl Sync for FastForwardingOverride
impl Unpin for FastForwardingOverride
impl UnsafeUnpin for FastForwardingOverride
impl UnwindSafe for FastForwardingOverride
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