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