pub enum CountSource {
Implicit,
Explicit,
}Expand description
Origin of a motion count, including the semantically distinct implicit one.
Variants§
Implicit
No decimal count was supplied; the effective count defaults to one.
Explicit
The user supplied a decimal count, including an explicit one.
Implementations§
Source§impl CountSource
impl CountSource
Sourcepub const fn is_explicit(self) -> bool
pub const fn is_explicit(self) -> bool
Reports whether the count was explicitly supplied.
Trait Implementations§
Source§impl Clone for CountSource
impl Clone for CountSource
Source§fn clone(&self) -> CountSource
fn clone(&self) -> CountSource
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 CountSource
Source§impl Debug for CountSource
impl Debug for CountSource
impl Eq for CountSource
Source§impl PartialEq for CountSource
impl PartialEq for CountSource
impl StructuralPartialEq for CountSource
Auto Trait Implementations§
impl Freeze for CountSource
impl RefUnwindSafe for CountSource
impl Send for CountSource
impl Sync for CountSource
impl Unpin for CountSource
impl UnsafeUnpin for CountSource
impl UnwindSafe for CountSource
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