pub struct SkipIntervalCommand { /* private fields */ }Implementations§
Source§impl SkipIntervalCommand
impl SkipIntervalCommand
pub fn command(&self) -> Command
pub fn is_enabled(&self) -> bool
pub fn set_enabled(&self, enabled: bool)
pub fn add_handler<F>(&self, handler: F) -> CommandToken
Source§impl SkipIntervalCommand
impl SkipIntervalCommand
pub fn preferred_intervals(&self) -> Vec<f64>
pub fn set_preferred_intervals(&self, intervals: &[f64])
Trait Implementations§
Source§impl Clone for SkipIntervalCommand
impl Clone for SkipIntervalCommand
Source§fn clone(&self) -> SkipIntervalCommand
fn clone(&self) -> SkipIntervalCommand
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 moreimpl Copy for SkipIntervalCommand
Source§impl Debug for SkipIntervalCommand
impl Debug for SkipIntervalCommand
impl Eq for SkipIntervalCommand
Source§impl PartialEq for SkipIntervalCommand
impl PartialEq for SkipIntervalCommand
Source§fn eq(&self, other: &SkipIntervalCommand) -> bool
fn eq(&self, other: &SkipIntervalCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SkipIntervalCommand
Auto Trait Implementations§
impl Freeze for SkipIntervalCommand
impl RefUnwindSafe for SkipIntervalCommand
impl Send for SkipIntervalCommand
impl Sync for SkipIntervalCommand
impl Unpin for SkipIntervalCommand
impl UnsafeUnpin for SkipIntervalCommand
impl UnwindSafe for SkipIntervalCommand
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