fuel_tx::field

Trait SubsectionIndex

Source
pub trait SubsectionIndex {
    // Required methods
    fn subsection_index(&self) -> &u16;
    fn subsection_index_mut(&mut self) -> &mut u16;
    fn subsection_index_offset_static() -> usize;

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

Required Methods§

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§