aztec-nr - compressed_string

Struct FieldCompressedString

pub struct FieldCompressedString
{ /* private fields */ }

Implementations

impl FieldCompressedString

pub fn is_eq(self, other: Self) -> bool pub fn from_field(input_field: Field) -> Self pub fn from_string(input_string: str<31>) -> Self pub fn to_bytes(self) -> [u8; 31]

Trait implementations

impl Deserialize for FieldCompressedString

pub fn deserialize(serialized: [Field; 1]) -> Self

impl Eq for FieldCompressedString

pub fn eq(_self: Self, _other: Self) -> bool

impl Packable for FieldCompressedString

pub fn pack(self) -> [Field; 1] pub fn unpack(packed: [Field; 1]) -> Self

impl Serialize for FieldCompressedString

pub fn serialize(self) -> [Field; 1]