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