pub enum TableColumnRef {
Current,
Index(TableColumnIndex),
}Expand description
Table column selector for APIs that accept Dear ImGui’s current-column sentinel.
Variants§
Implementations§
Source§impl TableColumnRef
impl TableColumnRef
Sourcepub const fn index(index: TableColumnIndex) -> Self
pub const fn index(index: TableColumnIndex) -> Self
Select a concrete table column.
Trait Implementations§
Source§impl Clone for TableColumnRef
impl Clone for TableColumnRef
Source§fn clone(&self) -> TableColumnRef
fn clone(&self) -> TableColumnRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TableColumnRef
impl Debug for TableColumnRef
Source§impl Default for TableColumnRef
impl Default for TableColumnRef
Source§fn default() -> TableColumnRef
fn default() -> TableColumnRef
Returns the “default value” for a type. Read more
Source§impl From<TableColumnIndex> for TableColumnRef
impl From<TableColumnIndex> for TableColumnRef
Source§fn from(index: TableColumnIndex) -> Self
fn from(index: TableColumnIndex) -> Self
Converts to this type from the input type.
Source§impl From<usize> for TableColumnRef
impl From<usize> for TableColumnRef
Source§impl Hash for TableColumnRef
impl Hash for TableColumnRef
Source§impl PartialEq for TableColumnRef
impl PartialEq for TableColumnRef
Source§fn eq(&self, other: &TableColumnRef) -> bool
fn eq(&self, other: &TableColumnRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TableColumnRef
impl Eq for TableColumnRef
impl StructuralPartialEq for TableColumnRef
Auto Trait Implementations§
impl Freeze for TableColumnRef
impl RefUnwindSafe for TableColumnRef
impl Send for TableColumnRef
impl Sync for TableColumnRef
impl Unpin for TableColumnRef
impl UnsafeUnpin for TableColumnRef
impl UnwindSafe for TableColumnRef
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