Trait DataUnit

Source
pub trait DataUnit: Debug {
    // Required method
    fn is_copy(&self) -> bool;
}
Expand description

Common trait for data units.

Allows extending DataUnit*With versions.

See also:

Required Methods§

Source

fn is_copy(&self) -> bool

Whether the data type in the current variant is Copy.

Implementations on Foreign Types§

Source§

impl DataUnit for ()

Source§

fn is_copy(&self) -> bool

Implementors§