pub struct LocalParameterTable { /* private fields */ }Expand description
Owned GRIB2 local parameter table with file-authoring helpers.
Implementations§
Source§impl LocalParameterTable
impl LocalParameterTable
pub fn new() -> Self
pub fn from_entries( entries: impl IntoIterator<Item = OwnedLocalParameterEntry>, ) -> Result<Self>
pub fn from_csv_str(input: &str) -> Result<Self>
pub fn from_csv_path(path: impl AsRef<Path>) -> Result<Self>
pub fn push(&mut self, entry: OwnedLocalParameterEntry) -> Result<()>
pub fn entries(&self) -> Vec<LocalParameterEntry<'_>>
pub fn to_csv_string(&self) -> String
Trait Implementations§
Source§impl Clone for LocalParameterTable
impl Clone for LocalParameterTable
Source§fn clone(&self) -> LocalParameterTable
fn clone(&self) -> LocalParameterTable
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 LocalParameterTable
impl Debug for LocalParameterTable
Source§impl Default for LocalParameterTable
impl Default for LocalParameterTable
Source§fn default() -> LocalParameterTable
fn default() -> LocalParameterTable
Returns the “default value” for a type. Read more
impl Eq for LocalParameterTable
Source§impl PartialEq for LocalParameterTable
impl PartialEq for LocalParameterTable
Source§fn eq(&self, other: &LocalParameterTable) -> bool
fn eq(&self, other: &LocalParameterTable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocalParameterTable
Auto Trait Implementations§
impl Freeze for LocalParameterTable
impl RefUnwindSafe for LocalParameterTable
impl Send for LocalParameterTable
impl Sync for LocalParameterTable
impl Unpin for LocalParameterTable
impl UnsafeUnpin for LocalParameterTable
impl UnwindSafe for LocalParameterTable
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