pub type Word = [BaseElement; 4];Expand description
A group of four field elements in the Miden base field.
Trait Implementations§
Source§impl From<&NoteMetadata> for Word
impl From<&NoteMetadata> for Word
Source§fn from(metadata: &NoteMetadata) -> Self
fn from(metadata: &NoteMetadata) -> Self
Convert a NoteMetadata into a Word.
The produced layout of the word is documented on the NoteMetadata type.
Source§impl From<&TransactionId> for Word
impl From<&TransactionId> for Word
Source§fn from(id: &TransactionId) -> Self
fn from(id: &TransactionId) -> Self
Converts to this type from the input type.
Source§impl From<FungibleAsset> for Word
impl From<FungibleAsset> for Word
Source§fn from(asset: FungibleAsset) -> Self
fn from(asset: FungibleAsset) -> Self
Converts to this type from the input type.
Source§impl<T: Into<Word>> From<LexicographicWord<T>> for Word
impl<T: Into<Word>> From<LexicographicWord<T>> for Word
Source§fn from(key: LexicographicWord<T>) -> Self
fn from(key: LexicographicWord<T>) -> Self
Converts to this type from the input type.
Source§impl From<NonFungibleAsset> for Word
impl From<NonFungibleAsset> for Word
Source§fn from(asset: NonFungibleAsset) -> Self
fn from(asset: NonFungibleAsset) -> Self
Converts to this type from the input type.
Source§impl From<NoteMetadata> for Word
impl From<NoteMetadata> for Word
Source§fn from(metadata: NoteMetadata) -> Self
fn from(metadata: NoteMetadata) -> Self
Convert a NoteMetadata into a Word.
The produced layout of the word is documented on the NoteMetadata type.
Source§impl From<TransactionId> for Word
impl From<TransactionId> for Word
Source§fn from(id: TransactionId) -> Self
fn from(id: TransactionId) -> Self
Converts to this type from the input type.