Struct spreadsheet_ods::refs::ColRange
source · pub struct ColRange { /* private fields */ }
Expand description
A range over columns.
Implementations§
source§impl ColRange
impl ColRange
sourcepub fn new_all(
iri: Option<String>,
from_table: Option<String>,
from_col_abs: bool,
from_col: u32,
to_table: Option<String>,
to_col_abs: bool,
to_col: u32
) -> Self
pub fn new_all( iri: Option<String>, from_table: Option<String>, from_col_abs: bool, from_col: u32, to_table: Option<String>, to_col_abs: bool, to_col: u32 ) -> Self
New with all possible arguments.
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_col_abs(&mut self, abs: bool)
pub fn set_col_abs(&mut self, abs: bool)
“$” column 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_col(&mut self, to_col: u32)
pub fn set_to_col(&mut self, to_col: u32)
To column
sourcepub fn set_to_col_abs(&mut self, abs: bool)
pub fn set_to_col_abs(&mut self, abs: bool)
“$” column reference
sourcepub fn to_col_abs(&self) -> bool
pub fn to_col_abs(&self) -> bool
“$” column 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 ColRange
impl GetSize for ColRange
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 ColRange
impl PartialEq for ColRange
impl Eq for ColRange
impl StructuralPartialEq for ColRange
Auto Trait Implementations§
impl RefUnwindSafe for ColRange
impl Send for ColRange
impl Sync for ColRange
impl Unpin for ColRange
impl UnwindSafe for ColRange
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