#[repr(transparent)]
pub struct T1B1<T: Trit = Btrit> { /* fields omitted */ }
Expand description
An encoding scheme slice that uses a single byte to represent one trit.
The type of trit associated with this trit encoding.
The trit buffer encoding associated with this trit slice encoding.
Get an empty slice of this encoding
Get the number of trits in this buffer
Interpret the raw data of this encoding as a slice of i8
.
Interpret the raw data of this encoding as a mutable slice of i8
.
Get the trit at the given index
Set the trit at the given index
Get a slice of this slice
Get a mutable slice of this slice
Decide whether a byte is a valid series of trits in this encoding
Unsafely reinterpret a slice of bytes as trit slice
Unsafely reinterpret a slice of bytes as trit slice
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.