Struct ckb_types::packed::FilteredBlockVec
source · pub struct FilteredBlockVec(_);
Implementations§
source§impl FilteredBlockVec
impl FilteredBlockVec
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<FilteredBlock>
pub fn get_unchecked(&self, idx: usize) -> FilteredBlock
pub fn as_reader<'r>(&'r self) -> FilteredBlockVecReader<'r>
Trait Implementations§
source§impl Clone for FilteredBlockVec
impl Clone for FilteredBlockVec
source§fn clone(&self) -> FilteredBlockVec
fn clone(&self) -> FilteredBlockVec
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 FilteredBlockVec
impl Debug for FilteredBlockVec
source§impl Default for FilteredBlockVec
impl Default for FilteredBlockVec
source§impl Display for FilteredBlockVec
impl Display for FilteredBlockVec
source§impl Entity for FilteredBlockVec
impl Entity for FilteredBlockVec
type Builder = FilteredBlockVecBuilder
const NAME: &'static str = "FilteredBlockVec"
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[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
source§impl IntoIterator for FilteredBlockVec
impl IntoIterator for FilteredBlockVec
Auto Trait Implementations§
impl RefUnwindSafe for FilteredBlockVec
impl Send for FilteredBlockVec
impl Sync for FilteredBlockVec
impl Unpin for FilteredBlockVec
impl UnwindSafe for FilteredBlockVec
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