[−][src]Trait drone_core::bitfield::Bits
An integer interface for Bitfield
.
See the module level documentation for details.
Required methods
pub fn from_usize(bits: usize) -> Self
[src]
Creates a new value with the bits of bits
.
pub fn width() -> Self
[src]
Returns the width of the integer type in bits.
pub fn is_zero(self) -> bool
[src]
Returns true
if all bits of the value are cleared.