pub struct Byte32Vec(_);
Implementations
sourceimpl Byte32Vec
impl Byte32Vec
pub const ITEM_SIZE: usize = 32usize
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<Byte32>
pub fn get_unchecked(&self, idx: usize) -> Byte32
pub fn as_reader<'r>(&'r self) -> Byte32VecReader<'r>
Trait Implementations
sourceimpl Entity for Byte32Vec
impl Entity for Byte32Vec
type Builder = Byte32VecBuilder
const NAME: &'static str = "Byte32Vec"
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn from_slice(slice: &[u8]) -> VerificationResult<Self>
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>
fn new_builder() -> Self::Builder
fn as_builder(self) -> Self::Builder
sourceimpl IntoIterator for Byte32Vec
impl IntoIterator for Byte32Vec
Auto Trait Implementations
impl RefUnwindSafe for Byte32Vec
impl Send for Byte32Vec
impl Sync for Byte32Vec
impl Unpin for Byte32Vec
impl UnwindSafe for Byte32Vec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more