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