[−][src]Struct bee_ternary::t5b1::T5B1Buf
An encoding scheme buffer that uses a single byte to represent five trits.
Trait Implementations
impl Clone for T5B1Buf
[src]
impl RawEncodingBuf for T5B1Buf
[src]
type Slice = T5B1
The trit slice encoding associated with this trit buffer encoding.
fn new() -> Self
[src]
fn with_capacity(cap: usize) -> Self
[src]
fn push(&mut self, trit: <Self::Slice as RawEncoding>::Trit)
[src]
fn pop(&mut self) -> Option<<Self::Slice as RawEncoding>::Trit>
[src]
fn as_slice(&self) -> &Self::Slice
[src]
fn as_slice_mut(&mut self) -> &mut Self::Slice
[src]
fn from_trits(trits: &[<Self::Slice as RawEncoding>::Trit]) -> Self where
Self: Sized,
[src]
Self: Sized,
fn into_encoding<T: RawEncodingBuf>(this: TritBuf<Self>) -> TritBuf<T> where
Self: Sized,
T: RawEncodingBuf,
T::Slice: RawEncoding<Trit = <Self::Slice as RawEncoding>::Trit>,
[src]
Self: Sized,
T: RawEncodingBuf,
T::Slice: RawEncoding<Trit = <Self::Slice as RawEncoding>::Trit>,
Auto Trait Implementations
impl RefUnwindSafe for T5B1Buf
impl Send for T5B1Buf
impl Sync for T5B1Buf
impl Unpin for T5B1Buf
impl UnwindSafe for T5B1Buf
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,