Skip to main content

Commit

Trait Commit 

Source
pub trait Commit {
    // Required method
    fn commit_words(&self) -> [u32; 8];
}
Expand description

Values that can be committed to the public output registers (x10..x17).

Required Methods§

Source

fn commit_words(&self) -> [u32; 8]

Implementations on Foreign Types§

Source§

impl Commit for bool

Source§

fn commit_words(&self) -> [u32; 8]

Source§

impl Commit for i64

Source§

fn commit_words(&self) -> [u32; 8]

Source§

impl Commit for u32

Source§

fn commit_words(&self) -> [u32; 8]

Source§

impl Commit for u64

Source§

fn commit_words(&self) -> [u32; 8]

Source§

impl Commit for ()

Source§

fn commit_words(&self) -> [u32; 8]

Source§

impl Commit for [u32; 8]

Source§

fn commit_words(&self) -> [u32; 8]

Source§

impl<T, E> Commit for Result<T, E>
where T: Commit, E: Debug,

Source§

fn commit_words(&self) -> [u32; 8]

Implementors§