pub enum LengthOption {
U64,
U32,
U16,
U8,
}
Expand description
Used to specify the unit used for length of strings and arrays via config.string_length
or config.array_length
.
Variants§
Trait Implementations§
Source§impl Clone for LengthOption
impl Clone for LengthOption
Source§fn clone(&self) -> LengthOption
fn clone(&self) -> LengthOption
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 LengthOption
impl Debug for LengthOption
impl Copy for LengthOption
Auto Trait Implementations§
impl Freeze for LengthOption
impl RefUnwindSafe for LengthOption
impl Send for LengthOption
impl Sync for LengthOption
impl Unpin for LengthOption
impl UnwindSafe for LengthOption
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