pub struct Uint32(/* private fields */);
Implementations§
source§impl Uint32
impl Uint32
pub const TOTAL_SIZE: usize = 4usize
pub const ITEM_SIZE: usize = 1usize
pub const ITEM_COUNT: usize = 4usize
pub fn nth0(&self) -> Byte
pub fn nth1(&self) -> Byte
pub fn nth2(&self) -> Byte
pub fn nth3(&self) -> Byte
pub fn raw_data(&self) -> Bytes
pub fn as_reader<'r>(&'r self) -> Uint32Reader<'r>
Trait Implementations§
source§impl Entity for Uint32
impl Entity for Uint32
type Builder = Uint32Builder
const NAME: &'static str = "Uint32"
fn new_unchecked(data: Bytes) -> Uint32
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<Uint32, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<Uint32, VerificationError>
fn new_builder() -> <Uint32 as Entity>::Builder
fn as_builder(self) -> <Uint32 as Entity>::Builder
source§impl Ord for Uint32
impl Ord for Uint32
source§impl PartialEq for Uint32
impl PartialEq for Uint32
source§impl PartialOrd for Uint32
impl PartialOrd for Uint32
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 moreimpl Eq for Uint32
Auto Trait Implementations§
impl RefUnwindSafe for Uint32
impl Send for Uint32
impl Sync for Uint32
impl Unpin for Uint32
impl UnwindSafe for Uint32
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