pub struct GdalSource {
pub params: Box<GdalSourceParameters>,
pub type: Type,
}Expand description
GdalSource : The GdalSource is a source operator that reads raster data using GDAL. The counterpart for vector data is the [OgrSource]. ## Errors If the given dataset does not exist or is not readable, an error is thrown.
Fields§
§params: Box<GdalSourceParameters>§type: TypeImplementations§
Source§impl GdalSource
impl GdalSource
Sourcepub fn new(params: GdalSourceParameters, type: Type) -> GdalSource
pub fn new(params: GdalSourceParameters, type: Type) -> GdalSource
The GdalSource is a source operator that reads raster data using GDAL. The counterpart for vector data is the [OgrSource]. ## Errors If the given dataset does not exist or is not readable, an error is thrown.
Trait Implementations§
Source§impl Clone for GdalSource
impl Clone for GdalSource
Source§fn clone(&self) -> GdalSource
fn clone(&self) -> GdalSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GdalSource
impl Debug for GdalSource
Source§impl Default for GdalSource
impl Default for GdalSource
Source§fn default() -> GdalSource
fn default() -> GdalSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GdalSource
impl<'de> Deserialize<'de> for GdalSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GdalSource
impl PartialEq for GdalSource
Source§fn eq(&self, other: &GdalSource) -> bool
fn eq(&self, other: &GdalSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GdalSource
impl Serialize for GdalSource
impl StructuralPartialEq for GdalSource
Auto Trait Implementations§
impl Freeze for GdalSource
impl RefUnwindSafe for GdalSource
impl Send for GdalSource
impl Sync for GdalSource
impl Unpin for GdalSource
impl UnsafeUnpin for GdalSource
impl UnwindSafe for GdalSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more