Trait erg_common::traits::ImmutableStream
source · [−]pub trait ImmutableStream<T>: Sized {
fn ref_payload(&self) -> &[T]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
;
fn capacity(&self) -> usize;
fn len(&self) -> usize { ... }
fn size(&self) -> usize { ... }
fn is_empty(&self) -> bool { ... }
fn get(&self, idx: usize) -> Option<&T> { ... }
fn first(&self) -> Option<&T> { ... }
fn last(&self) -> Option<&T> { ... }
fn iter(&self) -> Iter<'_, T> { ... }
}