Struct lim_bit_vec::ByteList

source ·
pub struct ByteList(/* private fields */);

Trait Implementations§

source§

impl Default for ByteList

source§

fn default() -> ByteList

Returns the “default value” for a type. Read more
source§

impl FlatScanFn for ByteList

§

type InputItem = BitVec<u16>

§

type InputResult = ()

§

type OutputList = ByteList

§

type EndList = Empty<u8, Id<BitVec<u32>>>

source§

fn map_item(self, item: BitVec16) -> Self::OutputList

Map the given input item into a list.
source§

fn map_result(self, _: ()) -> Self::EndList

Map the given result into an end list.
source§

impl ListFn for ByteList

§

type Item = u8

A list item type.
§

type End = ByteList

A value which is returned when the list has no more items.
source§

fn next(self) -> ListState<Self>

The main function which returns a list.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<L> Filter for Lwhere L: ListFn,

source§

fn filter<F>(self, f: F) -> FlatMapList<Self, FilterWrap<F>>where F: FilterFn<Input = Self::Item>,

source§

impl<S> FlatMap for Swhere S: ListFn,

source§

fn flat_map<F>(self, flat_map: F) -> FlatMapList<Self, F>where F: FlatMapFn<Input = Self::Item>,

source§

impl<S> FlatScan for Swhere S: ListFn,

source§

fn flat_scan<F>(self, flat_scan: F) -> FlatScanState<Self, F>where F: FlatScanFn<InputItem = Self::Item>, Self::End: ResultFn<Result = <F as FlatScanFn>::InputResult>,

source§

impl<S> Fold for Swhere S: ListFn,

source§

fn fold(self) -> Self::End

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<S> Iter for Swhere S: ListFn<End = S>,

source§

fn iter(self) -> ListIterator<Self>

Converts a list to an iterator.
source§

impl<L> IterWrap for Lwhere L: ListFn,

source§

impl<L> Map for Lwhere L: ListFn,

source§

fn map<M>(self, m: M) -> FlatMapList<Self, MapWrap<M>>where M: MapFn<Input = Self::Item>,

source§

impl<L> Take for Lwhere L: ListFn,

source§

fn take(self, count: usize) -> TakeList<Self>

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.