pub enum SelectedTab {
ColorCodesToSpecs,
SpecsToColorCodes,
}Variants§
Implementations§
Source§impl SelectedTab
impl SelectedTab
pub fn toggle(&self) -> SelectedTab
Trait Implementations§
Source§impl Debug for SelectedTab
impl Debug for SelectedTab
Source§impl Default for SelectedTab
impl Default for SelectedTab
Source§fn default() -> SelectedTab
fn default() -> SelectedTab
Returns the “default value” for a type. Read more
Source§impl From<&SelectedTab> for Option<usize>
impl From<&SelectedTab> for Option<usize>
Source§fn from(selected_tab: &SelectedTab) -> Self
fn from(selected_tab: &SelectedTab) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SelectedTab
impl PartialEq for SelectedTab
Source§fn eq(&self, other: &SelectedTab) -> bool
fn eq(&self, other: &SelectedTab) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelectedTab
Auto Trait Implementations§
impl Freeze for SelectedTab
impl RefUnwindSafe for SelectedTab
impl Send for SelectedTab
impl Sync for SelectedTab
impl Unpin for SelectedTab
impl UnsafeUnpin for SelectedTab
impl UnwindSafe for SelectedTab
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