IntentTreeStructure

Trait IntentTreeStructure 

Source
pub trait IntentTreeStructure {
    type RootIntentStructure: IntentStructure;
    type SubintentStructure: IntentStructure + HasSubintentHash;

    // Required methods
    fn root(&self) -> &Self::RootIntentStructure;
    fn non_root_subintents<'a>(
        &'a self,
    ) -> impl ExactSizeIterator<Item = &'a Self::SubintentStructure>;
}

Required Associated Types§

Required Methods§

Source

fn root(&self) -> &Self::RootIntentStructure

Source

fn non_root_subintents<'a>( &'a self, ) -> impl ExactSizeIterator<Item = &'a Self::SubintentStructure>

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§