pub enum Iterations {
Bits,
Bytes,
Unlimited,
Limited(usize),
}
Expand description
Used to limit the number of iterations in a Stage
.
todo: Unused, fix
Variants§
Bits
One iteration per bit in slice
Bytes
One iteration per byte in slice
Unlimited
Goes forever
Limited(usize)
Fixed number of iterations
Trait Implementations§
Source§impl Clone for Iterations
impl Clone for Iterations
Source§fn clone(&self) -> Iterations
fn clone(&self) -> Iterations
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 Iterations
impl Debug for Iterations
Source§impl<'de> Deserialize<'de> for Iterations
impl<'de> Deserialize<'de> for Iterations
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Iterations
impl RefUnwindSafe for Iterations
impl Send for Iterations
impl Sync for Iterations
impl Unpin for Iterations
impl UnwindSafe for Iterations
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