Trait pico_driver::LoadDriverExt [−][src]
pub trait LoadDriverExt { fn try_load(&self) -> Result<ArcDriver, DriverLoadError>; fn try_load_with_resolution(
&self,
resolution: &Resolution
) -> Result<ArcDriver, DriverLoadError>; }
Expand description
Shortcuts for loading drivers directly from the Driver
enum.
Required methods
fn try_load(&self) -> Result<ArcDriver, DriverLoadError>
[src]
fn try_load_with_resolution(
&self,
resolution: &Resolution
) -> Result<ArcDriver, DriverLoadError>
[src]
&self,
resolution: &Resolution
) -> Result<ArcDriver, DriverLoadError>
Implementations on Foreign Types
impl LoadDriverExt for Driver
[src]
impl LoadDriverExt for Driver
[src]fn try_load(&self) -> Result<ArcDriver, DriverLoadError>
[src]
fn try_load_with_resolution(
&self,
resolution: &Resolution
) -> Result<ArcDriver, DriverLoadError>
[src]
&self,
resolution: &Resolution
) -> Result<ArcDriver, DriverLoadError>