pub enum CounterLocation {
NoCounter,
BeforeFixedInput,
BeforeIter,
MiddleOfFixedInput(usize),
AfterFixedInput,
AfterIter,
}
Expand description
Used to set location of counter when using fixed input
Variants§
NoCounter
No use for counter
BeforeFixedInput
Counter before fixed input
BeforeIter
Before the iteration variable
MiddleOfFixedInput(usize)
Counter is placed at a specified bit location
AfterFixedInput
Counter after fixed input
AfterIter
Counter after the iteration variable
Trait Implementations§
Source§impl Clone for CounterLocation
impl Clone for CounterLocation
Source§fn clone(&self) -> CounterLocation
fn clone(&self) -> CounterLocation
Returns a duplicate 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 CounterLocation
impl Debug for CounterLocation
impl Copy for CounterLocation
Auto Trait Implementations§
impl Freeze for CounterLocation
impl RefUnwindSafe for CounterLocation
impl Send for CounterLocation
impl Sync for CounterLocation
impl Unpin for CounterLocation
impl UnwindSafe for CounterLocation
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