Enum dynamixel2::ExpectedCount
source · pub enum ExpectedCount {
Exact(usize),
Max(usize),
}
Expand description
The expected number of parameters.
Variants§
Exact(usize)
The exact number of expected parameters.
Max(usize)
An upper limit on the expected number of parameters.
Trait Implementations§
source§impl Clone for ExpectedCount
impl Clone for ExpectedCount
source§fn clone(&self) -> ExpectedCount
fn clone(&self) -> ExpectedCount
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 ExpectedCount
impl Debug for ExpectedCount
source§impl Display for ExpectedCount
impl Display for ExpectedCount
source§impl PartialEq for ExpectedCount
impl PartialEq for ExpectedCount
source§fn eq(&self, other: &ExpectedCount) -> bool
fn eq(&self, other: &ExpectedCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExpectedCount
impl StructuralPartialEq for ExpectedCount
Auto Trait Implementations§
impl Freeze for ExpectedCount
impl RefUnwindSafe for ExpectedCount
impl Send for ExpectedCount
impl Sync for ExpectedCount
impl Unpin for ExpectedCount
impl UnwindSafe for ExpectedCount
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