Struct sise::ReprPosValue
source · pub struct ReprPosValue(pub u32);
Expand description
Wrapper whose Display
implementation prints
self.0 + 1
, taking care of overflow.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for ReprPosValue
impl Clone for ReprPosValue
source§fn clone(&self) -> ReprPosValue
fn clone(&self) -> ReprPosValue
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 more