Skip to main content

HasScaleKind

Trait HasScaleKind 

Source
pub trait HasScaleKind {
    // Required method
    fn kind(&self) -> ScaleKind;
}
Expand description

A trait that represents a type that has a scale kind.

Required Methods§

Source

fn kind(&self) -> ScaleKind

Returns the scale kind of the implementor (most likely a Scale).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§