Trait foyer::DevExt

source ·
pub trait DevExt: Dev {
    // Provided methods
    fn align(&self) -> usize { ... }
    fn regions(&self) -> usize { ... }
}
Expand description

Device extend interfaces.

Provided Methods§

source

fn align(&self) -> usize

Get the align size of the device.

source

fn regions(&self) -> usize

Get the region count of the device.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> DevExt for T
where T: Dev,