[−][src]Struct pstoedit::driver_info::DriverInfo
Information on pstoedit drivers.
See module-level documentation for more details.
Implementations
impl DriverInfo
[src]
pub fn get() -> Result<Self>
[src]
Inquire driver information.
Examples
pstoedit::init().unwrap(); let drivers = pstoedit::DriverInfo::get().unwrap(); let names = drivers .iter() .map(|driver| driver.symbolic_name().unwrap()) .collect::<Vec<_>>();
Errors
NotInitialized
if init
was
not called successfully.
pub fn get_native() -> Result<Self>
[src]
Inquire native driver information.
See get
for usage.
pub fn iter(&self) -> Iter
[src]
Trait Implementations
impl Drop for DriverInfo
[src]
impl<'a> IntoIterator for &'a DriverInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for DriverInfo
impl !Send for DriverInfo
impl !Sync for DriverInfo
impl Unpin for DriverInfo
impl UnwindSafe for DriverInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,