Struct spreadsheet_ods::refs::RowRange
source · pub struct RowRange { /* private fields */ }
Expand description
A range over rows.
Implementations§
source§impl RowRange
impl RowRange
sourcepub fn new_all(
iri: Option<String>,
from_table: Option<String>,
from_row_abs: bool,
from_row: u32,
to_table: Option<String>,
to_row_abs: bool,
to_row: u32,
) -> Self
pub fn new_all( iri: Option<String>, from_table: Option<String>, from_row_abs: bool, from_row: u32, to_table: Option<String>, to_row_abs: bool, to_row: u32, ) -> Self
New with all possible parameters.
sourcepub fn set_table<S: Into<String>>(&mut self, table: S)
pub fn set_table<S: Into<String>>(&mut self, table: S)
Table name for references into other tables.
sourcepub fn set_row_abs(&mut self, abs: bool)
pub fn set_row_abs(&mut self, abs: bool)
“$” row reference
sourcepub fn set_to_table<S: Into<String>>(&mut self, table: S)
pub fn set_to_table<S: Into<String>>(&mut self, table: S)
Table name for references into other tables.
sourcepub fn set_to_row(&mut self, row: u32)
pub fn set_to_row(&mut self, row: u32)
To row
sourcepub fn set_to_row_abs(&mut self, abs: bool)
pub fn set_to_row_abs(&mut self, abs: bool)
“$” row reference
sourcepub fn to_row_abs(&self) -> bool
pub fn to_row_abs(&self) -> bool
“$” row reference
sourcepub fn to_formula(&self) -> String
pub fn to_formula(&self) -> String
Returns a range reference for a formula.
Trait Implementations§
source§impl GetSize for RowRange
impl GetSize for RowRange
source§fn get_heap_size(&self) -> usize
fn get_heap_size(&self) -> usize
Determines how many bytes this object occupies inside the heap. Read more
source§fn get_stack_size() -> usize
fn get_stack_size() -> usize
Determines how may bytes this object occupies inside the stack. Read more
source§impl PartialEq for RowRange
impl PartialEq for RowRange
impl Eq for RowRange
impl StructuralPartialEq for RowRange
Auto Trait Implementations§
impl Freeze for RowRange
impl RefUnwindSafe for RowRange
impl Send for RowRange
impl Sync for RowRange
impl Unpin for RowRange
impl UnwindSafe for RowRange
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.