pub enum RefView<'a> {
Cell {
sheet: Option<&'a str>,
row: u32,
col: u32,
},
Range {
sheet: Option<&'a str>,
start_row: Option<u32>,
start_col: Option<u32>,
end_row: Option<u32>,
end_col: Option<u32>,
},
Table {
name: &'a str,
specifier: Option<&'a TableSpecifier>,
},
NamedRange {
name: &'a str,
},
}Expand description
A borrowing view over a ReferenceType. Avoids cloning sheet/names while walking.
Variants§
Trait Implementations§
Source§impl<'a> From<&'a ReferenceType> for RefView<'a>
impl<'a> From<&'a ReferenceType> for RefView<'a>
Source§fn from(r: &'a ReferenceType) -> Self
fn from(r: &'a ReferenceType) -> Self
Converts to this type from the input type.
impl<'a> Copy for RefView<'a>
Auto Trait Implementations§
impl<'a> Freeze for RefView<'a>
impl<'a> RefUnwindSafe for RefView<'a>
impl<'a> Send for RefView<'a>
impl<'a> Sync for RefView<'a>
impl<'a> Unpin for RefView<'a>
impl<'a> UnwindSafe for RefView<'a>
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