Trait pico_sdk::driver::LoadDriverExt[][src]

pub trait LoadDriverExt {
    pub fn try_load(
        &self
    ) -> Result<Arc<dyn PicoDriver + 'static>, DriverLoadError>;
pub fn try_load_with_resolution(
        &self,
        resolution: &Resolution
    ) -> Result<Arc<dyn PicoDriver + 'static>, DriverLoadError>; }

Shortcuts for loading drivers directly from the Driver enum.

Required methods

pub fn try_load(&self) -> Result<Arc<dyn PicoDriver + 'static>, DriverLoadError>[src]

pub fn try_load_with_resolution(
    &self,
    resolution: &Resolution
) -> Result<Arc<dyn PicoDriver + 'static>, DriverLoadError>
[src]

Loading content...

Implementors

impl LoadDriverExt for Driver[src]

Loading content...