[−][src]Struct casper_execution_engine::core::engine_state::MAX_PAYMENT
Methods from Deref<Target = U512>
pub const MAX: U512[src]
pub const fn low_u32(&self) -> u32[src]
Conversion to u32
pub const fn low_u64(&self) -> u64[src]
Low word (u64)
pub fn as_u32(&self) -> u32[src]
pub fn as_u64(&self) -> u64[src]
Conversion to u64 with overflow checking
Panics
Panics if the number is larger than u64::max_value().
pub fn as_usize(&self) -> usize[src]
Conversion to usize with overflow checking
Panics
Panics if the number is larger than usize::max_value().
pub fn is_zero(&self) -> bool[src]
Whether this is zero.
pub fn bits(&self) -> usize[src]
Return the least number of bits needed to represent the number
pub const fn bit(&self, index: usize) -> bool[src]
pub fn leading_zeros(&self) -> u32[src]
Returns the number of leading zeros in the binary representation of self.
pub fn trailing_zeros(&self) -> u32[src]
Returns the number of leading zeros in the binary representation of self.
pub const fn byte(&self, index: usize) -> u8[src]
pub fn to_big_endian(&self, bytes: &mut [u8])[src]
Write to the slice in big-endian format.
pub fn to_little_endian(&self, bytes: &mut [u8])[src]
Write to the slice in little-endian format.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MAX_PAYMENT
impl Send for MAX_PAYMENT
impl Sync for MAX_PAYMENT
impl Unpin for MAX_PAYMENT
impl UnwindSafe for MAX_PAYMENT
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> FromBits<T> for T[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,