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
sourceimpl Clone for IntvlHookCtrl
impl Clone for IntvlHookCtrl
sourcefn clone(&self) -> IntvlHookCtrl
fn clone(&self) -> IntvlHookCtrl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IntvlHookCtrl
impl Debug for IntvlHookCtrl
sourceimpl Default for IntvlHookCtrl
impl Default for IntvlHookCtrl
sourcefn default() -> IntvlHookCtrl
fn default() -> IntvlHookCtrl
Returns the “default value” for a type. Read more
sourceimpl PartialEq<IntvlHookCtrl> for IntvlHookCtrl
impl PartialEq<IntvlHookCtrl> for IntvlHookCtrl
sourcefn eq(&self, other: &IntvlHookCtrl) -> bool
fn eq(&self, other: &IntvlHookCtrl) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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
sourceimpl<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,
sourcefn 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()
.sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_big_endian()
.sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_native_endian()
.