fuels::tx::field

Trait Salt

Source
pub trait Salt {
    // Required methods
    fn salt(&self) -> &Salt;
    fn salt_mut(&mut self) -> &mut Salt;
    fn salt_offset_static() -> usize;

    // Provided method
    fn salt_offset(&self) -> usize { ... }
}

Required Methods§

Source

fn salt(&self) -> &Salt

Source

fn salt_mut(&mut self) -> &mut Salt

Source

fn salt_offset_static() -> usize

Provided Methods§

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§