pub struct BeUint32(/* private fields */);
Implementations§
Source§impl BeUint32
impl BeUint32
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) -> BeUint32Reader<'r>
Trait Implementations§
Source§impl Entity for BeUint32
impl Entity for BeUint32
const NAME: &'static str = "BeUint32"
type Builder = BeUint32Builder
fn new_unchecked(data: Bytes) -> BeUint32
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<BeUint32, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<BeUint32, VerificationError>
fn new_builder() -> <BeUint32 as Entity>::Builder
fn as_builder(self) -> <BeUint32 as Entity>::Builder
Auto Trait Implementations§
impl !Freeze for BeUint32
impl RefUnwindSafe for BeUint32
impl Send for BeUint32
impl Sync for BeUint32
impl Unpin for BeUint32
impl UnwindSafe for BeUint32
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)