#[repr(u8)]pub enum ShellState {
Closed = 0,
Open = 1,
}Expand description
Whether the console’s shell is open or closed.
Variants§
Trait Implementations§
Source§impl Clone for ShellState
impl Clone for ShellState
Source§fn clone(&self) -> ShellState
fn clone(&self) -> ShellState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShellState
impl Debug for ShellState
Source§impl From<ShellState> for u8
impl From<ShellState> for u8
Source§fn from(v: ShellState) -> Self
fn from(v: ShellState) -> Self
Converts to this type from the input type.
Source§impl Ord for ShellState
impl Ord for ShellState
Source§impl PartialEq for ShellState
impl PartialEq for ShellState
Source§impl PartialOrd for ShellState
impl PartialOrd for ShellState
Source§fn partial_cmp(&self, other: &ShellState) -> Option<Ordering>
fn partial_cmp(&self, other: &ShellState) -> Option<Ordering>
Source§impl TryFrom<u8> for ShellState
impl TryFrom<u8> for ShellState
impl Copy for ShellState
impl Eq for ShellState
impl StructuralPartialEq for ShellState
Auto Trait Implementations§
impl Freeze for ShellState
impl RefUnwindSafe for ShellState
impl Send for ShellState
impl Sync for ShellState
impl Unpin for ShellState
impl UnwindSafe for ShellState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)