pub struct GeoStore {
pub data: BTreeMap<u16, (Vec<u8>, GeoTIFFTypes)>,
}Expand description
A GeoTIFF store system
Fields§
§data: BTreeMap<u16, (Vec<u8>, GeoTIFFTypes)>Internal data
Implementations§
Source§impl GeoStore
impl GeoStore
Sourcepub fn insert(&mut self, key: u16, value: Vec<u8>, field_type: GeoTIFFTypes)
pub fn insert(&mut self, key: u16, value: Vec<u8>, field_type: GeoTIFFTypes)
Common function name
Sourcepub fn set_string(&mut self, key: u16, value: String)
pub fn set_string(&mut self, key: u16, value: String)
Set a string
Sourcepub fn get_string(&self, key: u16) -> Option<String>
pub fn get_string(&self, key: u16) -> Option<String>
Get a string
Sourcepub fn set_double(&mut self, key: u16, value: f64)
pub fn set_double(&mut self, key: u16, value: f64)
Set a double
Sourcepub fn get_double(&self, key: u16) -> Option<f64>
pub fn get_double(&self, key: u16) -> Option<f64>
Get a double
Trait Implementations§
impl StructuralPartialEq for GeoStore
Auto Trait Implementations§
impl Freeze for GeoStore
impl RefUnwindSafe for GeoStore
impl Send for GeoStore
impl Sync for GeoStore
impl Unpin for GeoStore
impl UnwindSafe for GeoStore
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().