pub struct CellDepVec(/* private fields */);
Implementations§
Source§impl CellDepVec
impl CellDepVec
pub const ITEM_SIZE: usize = 37usize
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<CellDep>
pub fn get_unchecked(&self, idx: usize) -> CellDep
pub fn as_reader<'r>(&'r self) -> CellDepVecReader<'r>
Trait Implementations§
Source§impl Clone for CellDepVec
impl Clone for CellDepVec
Source§fn clone(&self) -> CellDepVec
fn clone(&self) -> CellDepVec
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CellDepVec
impl Debug for CellDepVec
Source§impl Default for CellDepVec
impl Default for CellDepVec
Source§fn default() -> CellDepVec
fn default() -> CellDepVec
Returns the “default value” for a type. Read more
Source§impl Display for CellDepVec
impl Display for CellDepVec
Source§impl Entity for CellDepVec
impl Entity for CellDepVec
const NAME: &'static str = "CellDepVec"
type Builder = CellDepVecBuilder
fn new_unchecked(data: Bytes) -> CellDepVec
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<CellDepVec, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<CellDepVec, VerificationError>
fn new_builder() -> <CellDepVec as Entity>::Builder
fn as_builder(self) -> <CellDepVec as Entity>::Builder
Source§impl IntoIterator for CellDepVec
impl IntoIterator for CellDepVec
Source§type IntoIter = CellDepVecIterator
type IntoIter = CellDepVecIterator
Which kind of iterator are we turning this into?
Source§fn into_iter(self) -> <CellDepVec as IntoIterator>::IntoIter
fn into_iter(self) -> <CellDepVec as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Auto Trait Implementations§
impl !Freeze for CellDepVec
impl RefUnwindSafe for CellDepVec
impl Send for CellDepVec
impl Sync for CellDepVec
impl Unpin for CellDepVec
impl UnwindSafe for CellDepVec
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
)Source§impl<T> PackVec<CellDepVec, CellDep> for Twhere
T: IntoIterator<Item = CellDep>,
impl<T> PackVec<CellDepVec, CellDep> for Twhere
T: IntoIterator<Item = CellDep>,
Source§fn pack(self) -> CellDepVec
fn pack(self) -> CellDepVec
Packs a vector of binary data into one binary data.