pub struct Uint32Vec(/* private fields */);
Implementations§
Source§impl Uint32Vec
impl Uint32Vec
pub const ITEM_SIZE: usize = 4usize
pub fn total_size(&self) -> usize
pub fn item_count(&self) -> usize
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, idx: usize) -> Option<Uint32>
pub fn get_unchecked(&self, idx: usize) -> Uint32
pub fn as_reader<'r>(&'r self) -> Uint32VecReader<'r>
Trait Implementations§
Source§impl Entity for Uint32Vec
impl Entity for Uint32Vec
const NAME: &'static str = "Uint32Vec"
type Builder = Uint32VecBuilder
fn new_unchecked(data: Bytes) -> Uint32Vec
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<Uint32Vec, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<Uint32Vec, VerificationError>
fn new_builder() -> <Uint32Vec as Entity>::Builder
fn as_builder(self) -> <Uint32Vec as Entity>::Builder
Source§impl IntoIterator for Uint32Vec
impl IntoIterator for Uint32Vec
Auto Trait Implementations§
impl !Freeze for Uint32Vec
impl RefUnwindSafe for Uint32Vec
impl Send for Uint32Vec
impl Sync for Uint32Vec
impl Unpin for Uint32Vec
impl UnwindSafe for Uint32Vec
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
)