pub struct CounterMode {
pub counter_length: usize,
}
Expand description
Counter mode options
Fields§
§counter_length: usize
Length of the binary representation of the counter, in bits
Trait Implementations§
Source§impl Clone for CounterMode
impl Clone for CounterMode
Source§fn clone(&self) -> CounterMode
fn clone(&self) -> CounterMode
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 CounterMode
impl Debug for CounterMode
impl Copy for CounterMode
Auto Trait Implementations§
impl Freeze for CounterMode
impl RefUnwindSafe for CounterMode
impl Send for CounterMode
impl Sync for CounterMode
impl Unpin for CounterMode
impl UnwindSafe for CounterMode
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