Skip to main content

NonZeroDeviceSize

Type Alias NonZeroDeviceSize 

Source
pub type NonZeroDeviceSize = NonZeroU64;
Expand description

A DeviceSize that is known not to equal zero.

Aliased Type§

pub struct NonZeroDeviceSize(/* private fields */);

Trait Implementations§

Source§

impl From<DeviceAlignment> for NonZeroDeviceSize

Source§

fn from(alignment: DeviceAlignment) -> Self

Converts to this type from the input type.