[−][src]Trait pico_sdk::driver::LoadDriverExt
Shortcuts for loading drivers directly from the Driver enum.
Required methods
fn try_load(
&self
) -> Result<Arc<Box<dyn PicoDriver + 'static, Global>>, DriverLoadError>
&self
) -> Result<Arc<Box<dyn PicoDriver + 'static, Global>>, DriverLoadError>
fn try_load_with_resolution(
&self,
resolution: &Resolution
) -> Result<Arc<Box<dyn PicoDriver + 'static, Global>>, DriverLoadError>
&self,
resolution: &Resolution
) -> Result<Arc<Box<dyn PicoDriver + 'static, Global>>, DriverLoadError>
Implementors
impl LoadDriverExt for Driver[src]
pub fn try_load(
&self
) -> Result<Arc<Box<dyn PicoDriver + 'static, Global>>, DriverLoadError>[src]
&self
) -> Result<Arc<Box<dyn PicoDriver + 'static, Global>>, DriverLoadError>
pub fn try_load_with_resolution(
&self,
resolution: &Resolution
) -> Result<Arc<Box<dyn PicoDriver + 'static, Global>>, DriverLoadError>[src]
&self,
resolution: &Resolution
) -> Result<Arc<Box<dyn PicoDriver + 'static, Global>>, DriverLoadError>