Trait pico_sdk::driver::LoadDriverExt [−][src]
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]
&self,
resolution: &Resolution
) -> Result<Arc<dyn PicoDriver + 'static>, DriverLoadError>
Implementors
impl LoadDriverExt for Driver
[src]
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]
&self,
resolution: &Resolution
) -> Result<Arc<dyn PicoDriver + 'static>, DriverLoadError>