pub struct DataSheet { /* private fields */ }Implementations§
Source§impl DataSheet
impl DataSheet
pub fn new(args: &VariantArgs) -> Result<Option<Self>, VariantError>
pub fn retrieve_single_value( &self, name: &str, ) -> Result<DataValue, VariantError>
pub fn retrieve_1d_array_or_string( &self, name: &str, ) -> Result<ValueSource, VariantError>
pub fn retrieve_2d_array( &self, name: &str, ) -> Result<Vec<Vec<DataValue>>, VariantError>
Auto Trait Implementations§
impl Freeze for DataSheet
impl RefUnwindSafe for DataSheet
impl Send for DataSheet
impl Sync for DataSheet
impl Unpin for DataSheet
impl UnwindSafe for DataSheet
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
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 more