Trait BitStructZero

Source
pub trait BitStructZero: Zero {
    // Provided method
    fn bs_zero() -> Self { ... }
}
Expand description

A bit struct which has a zero value we can get

Provided Methods§

Source

fn bs_zero() -> Self

Get a zero value for this bit struct

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§