pub struct TableSelection {
pub table_key: NodeKey,
pub anchor: Point,
pub focus: Point,
/* private fields */
}Expand description
TableSelection’s fields: the table, and the anchor and focus cells as
element points.
Fields§
§table_key: NodeKey§anchor: Point§focus: PointImplementations§
Source§impl TableSelection
impl TableSelection
Sourcepub fn new(table_key: impl Into<NodeKey>, anchor: Point, focus: Point) -> Self
pub fn new(table_key: impl Into<NodeKey>, anchor: Point, focus: Point) -> Self
new TableSelection(tableKey, anchor, focus).
Sourcepub fn is(&self, other: &TableSelection) -> bool
pub fn is(&self, other: &TableSelection) -> bool
is(selection).
Trait Implementations§
Source§impl Clone for TableSelection
impl Clone for TableSelection
Auto Trait Implementations§
impl Forget for TableSelection
impl Freeze for TableSelection
impl Move for TableSelection
impl RefUnwindSafe for TableSelection
impl Send for TableSelection
impl Sync for TableSelection
impl Unpin for TableSelection
impl UnsafeUnpin for TableSelection
impl UnwindSafe for TableSelection
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