pub trait Maturity {
    // Required methods
    fn maturity(&self) -> &BlockHeight;
    fn maturity_mut(&mut self) -> &mut BlockHeight;
    fn maturity_offset_static() -> usize;

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

Required Methods§

fn maturity(&self) -> &BlockHeight

fn maturity_mut(&mut self) -> &mut BlockHeight

fn maturity_offset_static() -> usize

Provided Methods§

fn maturity_offset(&self) -> usize

Object Safety§

This trait is not object safe.

Implementors§

§

impl Maturity for Create

§

impl Maturity for Script