CustomValueEntryInfo

Trait CustomValueEntryInfo 

Source
pub trait CustomValueEntryInfo {
    // Required method
    fn custom_values(&self) -> impl Iterator<Item = CustomValue<'_>>;
}
Expand description

This can be implemented for anything capable of providing information about the available Custom Values

Required Methods§

Source

fn custom_values(&self) -> impl Iterator<Item = CustomValue<'_>>

Iterate over all of the available Custom Values, returning CustomValue as we go.

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.

Implementations on Foreign Types§

Source§

impl CustomValueEntryInfo for RuntimeMetadataV15

Source§

fn custom_values(&self) -> impl Iterator<Item = CustomValue<'_>>

Source§

impl CustomValueEntryInfo for RuntimeMetadataV16

Source§

fn custom_values(&self) -> impl Iterator<Item = CustomValue<'_>>

Implementors§