pub struct ZeroPadding(pub usize);
Expand description
Zero-padding for integers; see FieldType::SerializeSettings
.
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl Clone for ZeroPadding
impl Clone for ZeroPadding
Source§fn clone(&self) -> ZeroPadding
fn clone(&self) -> ZeroPadding
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 ZeroPadding
impl Debug for ZeroPadding
Source§impl Default for ZeroPadding
impl Default for ZeroPadding
Source§fn default() -> ZeroPadding
fn default() -> ZeroPadding
Returns the “default value” for a type. Read more
impl Copy for ZeroPadding
Auto Trait Implementations§
impl Freeze for ZeroPadding
impl RefUnwindSafe for ZeroPadding
impl Send for ZeroPadding
impl Sync for ZeroPadding
impl Unpin for ZeroPadding
impl UnwindSafe for ZeroPadding
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