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_heap_size_with_tracker<TRACKER: GetSizeTracker>(
&self,
tracker: TRACKER,
) -> (usize, TRACKER)
fn get_heap_size_with_tracker<TRACKER: GetSizeTracker>( &self, tracker: TRACKER, ) -> (usize, TRACKER)
Determines how many bytes this object occupies inside the heap while using a
tracker
. Read moreSource§fn get_stack_size() -> usize
fn get_stack_size() -> usize
Determines how may bytes this object occupies inside the stack. Read more
Source§fn get_size_with_tracker<T>(&self, tracker: T) -> (usize, T)where
T: GetSizeTracker,
fn get_size_with_tracker<T>(&self, tracker: T) -> (usize, T)where
T: GetSizeTracker,
Determines the total size of the object while using a
tracker
. Read moreimpl Eq for ColRange
impl StructuralPartialEq for ColRange
Auto Trait Implementations§
impl Freeze for ColRange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.