Struct fiberplane_models::notebooks::TableRowValueId
source · pub struct TableRowValueId(/* private fields */);Expand description
This is a compound ID based on the row ID and column ID that together identify a row value.
Table row value IDs are used to refer to row values. They
are not stored in the TableCell data structure, but are used in serialized
form to refer to row values inside the field of
some operations
as well as focus types.
Implementations§
source§impl TableRowValueId
impl TableRowValueId
sourcepub fn new(row_id: TableRowId, column_id: TableColumnId) -> Self
pub fn new(row_id: TableRowId, column_id: TableColumnId) -> Self
Creates a new value ID from a TableRowId and TableColumnId.
pub fn row_id(&self) -> &TableRowId
pub fn column_id(&self) -> &TableColumnId
Trait Implementations§
source§impl Clone for TableRowValueId
impl Clone for TableRowValueId
source§fn clone(&self) -> TableRowValueId
fn clone(&self) -> TableRowValueId
Returns a copy 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 TableRowValueId
impl Debug for TableRowValueId
source§impl<'de> Deserialize<'de> for TableRowValueId
impl<'de> Deserialize<'de> for TableRowValueId
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for TableRowValueId
impl Display for TableRowValueId
source§impl FromStr for TableRowValueId
impl FromStr for TableRowValueId
source§impl Ord for TableRowValueId
impl Ord for TableRowValueId
source§fn cmp(&self, other: &TableRowValueId) -> Ordering
fn cmp(&self, other: &TableRowValueId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TableRowValueId
impl PartialEq for TableRowValueId
source§fn eq(&self, other: &TableRowValueId) -> bool
fn eq(&self, other: &TableRowValueId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for TableRowValueId
impl PartialOrd for TableRowValueId
source§fn partial_cmp(&self, other: &TableRowValueId) -> Option<Ordering>
fn partial_cmp(&self, other: &TableRowValueId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for TableRowValueId
impl Serialize for TableRowValueId
impl Eq for TableRowValueId
impl StructuralPartialEq for TableRowValueId
Auto Trait Implementations§
impl Freeze for TableRowValueId
impl RefUnwindSafe for TableRowValueId
impl Send for TableRowValueId
impl Sync for TableRowValueId
impl Unpin for TableRowValueId
impl UnwindSafe for TableRowValueId
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