pub struct InMemoryRange { /* private fields */ }Implementations§
Source§impl InMemoryRange
impl InMemoryRange
pub fn new(d: Vec<Vec<LiteralValue>>) -> Self
Trait Implementations§
Source§impl Clone for InMemoryRange
impl Clone for InMemoryRange
Source§fn clone(&self) -> InMemoryRange
fn clone(&self) -> InMemoryRange
Returns a duplicate of the value. Read more
1.0.0 · 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 InMemoryRange
impl Debug for InMemoryRange
Source§impl Range for InMemoryRange
impl Range for InMemoryRange
fn get(&self, r: usize, c: usize) -> Result<LiteralValue, ExcelError>
fn dimensions(&self) -> (usize, usize)
fn as_any(&self) -> &dyn Any
fn is_sparse(&self) -> bool
fn is_infinite(&self) -> bool
fn materialise(&self) -> Cow<'_, [Vec<LiteralValue>]>
fn iter_cells<'a>(&'a self) -> Box<dyn Iterator<Item = LiteralValue> + 'a>
fn iter_rows<'a>(&'a self) -> Box<dyn Iterator<Item = Vec<LiteralValue>> + 'a>
Auto Trait Implementations§
impl Freeze for InMemoryRange
impl RefUnwindSafe for InMemoryRange
impl Send for InMemoryRange
impl Sync for InMemoryRange
impl Unpin for InMemoryRange
impl UnwindSafe for InMemoryRange
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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