Skip to main content

CellValue

Trait CellValue 

Source
pub trait CellValue: Copy + BankSafe { }
Available on crate feature bank-safe only.
Expand description

What an HRAM cell may hold.

With the bank-safe feature a value must also be BankSafe: a cell outlives any bank switch, so a pointer to banked code left in one would dangle.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> CellValue for T
where T: Copy + BankSafe,