pub struct Tryte {
pub trits: Vec<Trit>,
}Expand description
Tryte: A group of trits (configurable size) Default is 6 trits = 729 states ≈ 9.51 bits
Fields§
§trits: Vec<Trit>The trits composing this tryte (LST first)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tryte
impl<'de> Deserialize<'de> for Tryte
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Tryte
impl StructuralPartialEq for Tryte
Auto Trait Implementations§
impl Freeze for Tryte
impl RefUnwindSafe for Tryte
impl Send for Tryte
impl Sync for Tryte
impl Unpin for Tryte
impl UnwindSafe for Tryte
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more