vstorage::base

Trait Property

Source
pub trait Property:
    Sync
    + Send
    + Clone
    + Debug
    + Hash
    + PartialEq
    + Eq {
    // Required method
    fn name(&self) -> String;
}
Expand description

Properties for storage collections or items.

See Item::Property.

Required Methods§

Source

fn name(&self) -> String

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§