pub struct Gas(_);
Implementations§
Trait Implementations§
source§impl Decodable for Gas
impl Decodable for Gas
source§fn decode(rlp: &UntrustedRlp<'_>) -> Result<Self, DecoderError>
fn decode(rlp: &UntrustedRlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
source§impl Ord for Gas
impl Ord for Gas
source§impl PartialOrd<Gas> for Gas
impl PartialOrd<Gas> for Gas
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more