Trait PrivateSlot

pub trait PrivateSlot: StorageSlot {
    // Required method
    fn is_private(&self) -> bool;
}
Expand description

Extends the StorageSlot trait to include a privacy flag

Required Methods§

fn is_private(&self) -> bool

whether the slot is private storage

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§