pub struct TryteBuf { /* fields omitted */ }
Expand description
Create a new empty buffer.
Create a new empty buffer with room for cap
trytes.
Attempt to parse a string into a tryte buffer.
Returns true
if the buffer is empty.
Returns the number of trytes in the buffer.
Push a new tryte to the end of the buffer.
Attempt to pop a tryte from the end of the buffer.
Safely interpret this tryte buffer as a T3B1
trit slice.
Safely interpret this tryte buffer as a mutable T3B1
trit slice.
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
The resulting type after dereferencing.
Mutably dereferences the value.
Formats the value using the given formatter. Read more
The associated error which can be returned from parsing.
Parses a string s
to return a value of this type. Read more
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>,
Converts the given value to a String
. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.