pub struct NullActions { /* private fields */ }
Expand description
A sequence containing Null
actions.
Implementations§
Source§impl NullActions
impl NullActions
Sourcepub fn new(id: String) -> NullActions
pub fn new(id: String) -> NullActions
Create a new NullActions sequence.
The id can be any string but must uniquely identify this input source.
Trait Implementations§
Source§impl Clone for NullActions
impl Clone for NullActions
Source§fn clone(&self) -> NullActions
fn clone(&self) -> NullActions
Returns a copy of the value. Read more
1.0.0 · 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 NullActions
impl Debug for NullActions
Source§impl From<NullActions> for ActionSequence
impl From<NullActions> for ActionSequence
Source§fn from(na: NullActions) -> ActionSequence
fn from(na: NullActions) -> ActionSequence
Converts to this type from the input type.
Source§impl InputSource for NullActions
impl InputSource for NullActions
Source§type Action = NullAction
type Action = NullAction
The action type associated with this
InputSource
.Source§fn pause(self, duration: Duration) -> NullActions
fn pause(self, duration: Duration) -> NullActions
Add a pause action to the sequence for this input source.
Source§fn then(self, action: <NullActions as InputSource>::Action) -> NullActions
fn then(self, action: <NullActions as InputSource>::Action) -> NullActions
Add the specified action to the sequence for this input source.
Auto Trait Implementations§
impl Freeze for NullActions
impl RefUnwindSafe for NullActions
impl Send for NullActions
impl Sync for NullActions
impl Unpin for NullActions
impl UnwindSafe for NullActions
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