Struct gdal::raster::dataset::Dataset

source ·
pub struct Dataset { /* private fields */ }

Implementations

Read a ‘Buffer’ from a ‘Dataset’.

Arguments
  • band_index - the band_index
  • window - the window position from top left
  • window_size - the window size (GDAL will interpolate data if window_size != buffer_size)
  • buffer_size - the desired size of the ‘Buffer’

Read a full ‘Dataset’ as ‘Buffer’.

Arguments
  • band_index - the band_index

Read a ‘Buffer’ from a ‘Dataset’. T implements ‘GdalType’

Arguments
  • band_index - the band_index
  • window - the window position from top left
  • window_size - the window size (GDAL will interpolate data if window_size != buffer_size)
  • buffer_size - the desired size of the ‘Buffer’

Write a ‘Buffer’ into a ‘Dataset’.

Arguments
  • band_index - the band_index
  • window - the window position from top left
  • window_size - the window size (GDAL will interpolate data if window_size != Buffer.size)

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.