Enum elrond::VarSize
[−]
[src]
pub enum VarSize {
Bits64(u64),
Bits32(u32),
Bits16(u16),
}Sometimes ELF32 vs ELF64 has different lenght values.
Blindly converting everyting to
usize or isize could result in
a loss of precision on some platforms
so here ya go.
Variants
Bits64(u64)Bits32(u32)Bits16(u16)
Trait Implementations
impl Copy for VarSize[src]
impl Clone for VarSize[src]
fn clone(&self) -> VarSize[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for VarSize[src]
fn eq(&self, __arg_0: &VarSize) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &VarSize) -> bool[src]
This method tests for !=.
impl Eq for VarSize[src]
impl Debug for VarSize[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more