Enum basalt::interval::IntvlHookCtrl
source · pub enum IntvlHookCtrl {
Continue,
Pause,
Remove,
}
Expand description
Controls what happens after the hook method is called.
Variants§
Continue
Continue the hook.
Pause
Pause the hook.
Interval::start(ID) to start hook operation again.
Remove
Remove the hook.
Trait Implementations§
source§impl Clone for IntvlHookCtrl
impl Clone for IntvlHookCtrl
source§fn clone(&self) -> IntvlHookCtrl
fn clone(&self) -> IntvlHookCtrl
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 IntvlHookCtrl
impl Debug for IntvlHookCtrl
source§impl Default for IntvlHookCtrl
impl Default for IntvlHookCtrl
source§fn default() -> IntvlHookCtrl
fn default() -> IntvlHookCtrl
Returns the “default value” for a type. Read more
source§impl PartialEq for IntvlHookCtrl
impl PartialEq for IntvlHookCtrl
source§fn eq(&self, other: &IntvlHookCtrl) -> bool
fn eq(&self, other: &IntvlHookCtrl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IntvlHookCtrl
impl Eq for IntvlHookCtrl
impl StructuralEq for IntvlHookCtrl
impl StructuralPartialEq for IntvlHookCtrl
Auto Trait Implementations§
impl RefUnwindSafe for IntvlHookCtrl
impl Send for IntvlHookCtrl
impl Sync for IntvlHookCtrl
impl Unpin for IntvlHookCtrl
impl UnwindSafe for IntvlHookCtrl
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.