Struct gdal::Driver[][src]

pub struct Driver { /* fields omitted */ }

Implementations

impl Driver[src]

pub fn get(name: &str) -> Result<Driver>[src]

pub unsafe fn from_c_driver(c_driver: GDALDriverH) -> Driver[src]

Creates a new Driver object by wrapping a C pointer

Safety

This method operates on a raw C pointer

pub unsafe fn c_driver(&self) -> GDALDriverH[src]

Returns the wrapped C pointer

Safety

This method returns a raw C pointer

pub fn short_name(&self) -> String[src]

pub fn long_name(&self) -> String[src]

pub fn create(
    &self,
    filename: &str,
    size_x: isize,
    size_y: isize,
    bands: isize
) -> Result<Dataset>
[src]

pub fn create_with_band_type<T: GdalType>(
    &self,
    filename: &str,
    size_x: isize,
    size_y: isize,
    bands: isize
) -> Result<Dataset>
[src]

pub fn create_vector_only(&self, filename: &str) -> Result<Dataset>[src]

Trait Implementations

impl Metadata for Driver[src]

Auto Trait Implementations

impl RefUnwindSafe for Driver

impl !Send for Driver

impl !Sync for Driver

impl Unpin for Driver

impl UnwindSafe for Driver

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.