[−][src]Trait serial_int::Serial
A trait that defines how a type is used by SerialGenerator.
Associated Constants
Loading content...Required methods
pub fn next_increment(&self) -> Self
[src]
Return the next sequential value. Return an equal value if it is at its maximum.
pub fn prev_increment(&self) -> Self
[src]
Return the previous sequential value. Return an equal value if it is at its minimum.
pub fn remaining_increments(&self) -> Self
[src]
Return the number of times this value can be incremented before reaching its maximum, using Self to represent the count.
pub fn is_max_value(&self) -> bool
[src]
Return whether the value is at its maximum value.