ToSpongeOp

Trait ToSpongeOp 

Source
pub trait ToSpongeOp: IOWord {
    // Required method
    fn to_sponge_op() -> SpongeOp;
}
Expand description

Conversion from a type-level IOWord to a crate::SpongeOp This is, morally speaking, an extension trait of the IOWord trait, though Rust can of course not check exhaustivity.

Required Methods§

Source

fn to_sponge_op() -> SpongeOp

Converts the type-level operation to its term-level representation

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§