pub struct ConsoleConst {}

Implementations§

source§

impl ConsoleConst

source

pub const TERM_KEY_ENTER: u32 = 13u32

source

pub const TERM_KEY_BACKSPACE: u32 = 8u32

source

pub const TERM_KEY_INSERT: u32 = 45u32

source

pub const TERM_KEY_DEL: u32 = 46u32

source

pub const TERM_KEY_TAB: u32 = 9u32

source

pub const TERM_KEY_HOME: u32 = 36u32

source

pub const TERM_KEY_END: u32 = 35u32

source

pub const TERM_KEY_PAGE_UP: u32 = 33u32

source

pub const TERM_KEY_PAGE_DOWN: u32 = 34u32

source

pub const TERM_KEY_LEFT_ARROW: u32 = 37u32

source

pub const TERM_KEY_UP_ARROW: u32 = 38u32

source

pub const TERM_KEY_RIGHT_ARROW: u32 = 39u32

source

pub const TERM_KEY_DOWN_ARROW: u32 = 40u32

source

pub const TERM_KEY_C: u32 = 67u32

source

pub const TERM_KEY_L: u32 = 76u32

source

pub const TERM_KEY_F1: u32 = 112u32

source

pub const TERM_KEY_F2: u32 = 113u32

source

pub const TERM_KEY_F3: u32 = 114u32

source

pub const TERM_KEY_F4: u32 = 115u32

source

pub const TERM_KEY_F5: u32 = 116u32

source

pub const TERM_KEY_F6: u32 = 117u32

source

pub const TERM_KEY_F7: u32 = 118u32

source

pub const TERM_KEY_F8: u32 = 119u32

source

pub const TERM_KEY_F9: u32 = 120u32

source

pub const TERM_KEY_F10: u32 = 121u32

source

pub const TERM_KEY_F11: u32 = 122u32

source

pub const TERM_KEY_F12: u32 = 123u32

source

pub const TERM_CURSOR_UP: &'static str = "\x1b[A"

source

pub const TERM_CURSOR_DOWN: &'static str = "\x1b[B"

source

pub const TERM_CURSOR_RIGHT: &'static str = "\x1b[C"

source

pub const TERM_CURSOR_LEFT: &'static str = "\x1b[D"

source

pub const TERM_DELETE_LINE: &'static str = "\x1b[2K\r"

source

pub const TERM_DELETE_RIGHT: &'static str = "\x1b[0K\r"

source

pub const TERM_DELETE_LEFT: &'static str = "\x1b[1K\r"

source

pub const TERM_DELETE_BELOW: &'static str = "\x1b[0J\r"

source

pub const TERM_DELETE_ABOVE: &'static str = "\x1b[1J\r"

source

pub const TERM_DELETE_ALL: &'static str = "\x1b[2J\r"

source

pub const TERM_DELETE_SAVED: &'static str = "\x1b[3J\r"

source

pub const TERM_CURSOR_SAVE: &'static str = "\x1b[s"

source

pub const TERM_CURSOR_RESTORE: &'static str = "\x1b[u"

source

pub const TERM_WRAPAROUND: &'static str = "\x1b[?7h"

source

pub const TERM_REVERSE_WRAPAROUND: &'static str = "\x1b[?45h"

source

pub const TERM_NO_WRAPAROUND: &'static str = "\x1b[?7l"

source

pub const TERM_NO_REVERSE_WRAPAROUND: &'static str = "\x1b[?45l"

source

pub const COL_RESET: &'static str = "\x1B[0m"

source

pub const COL_BLACK: &'static str = "\x1B[0;30m"

source

pub const COL_GRAY: &'static str = "\x1B[1;30m"

source

pub const COL_RED: &'static str = "\x1B[0;31m"

source

pub const COL_LIGHT_RED: &'static str = "\x1B[1;31m"

source

pub const COL_GREEN: &'static str = "\x1B[0;32m"

source

pub const COL_LIGHT_GREEN: &'static str = "\x1B[1;32m"

source

pub const COL_BROWN: &'static str = "\x1B[0;33m"

source

pub const COL_YELLOW: &'static str = "\x1B[1;33m"

source

pub const COL_BLUE: &'static str = "\x1B[0;34m"

source

pub const COL_LIGHT_BLUE: &'static str = "\x1B[1;34m"

source

pub const COL_PURPLE: &'static str = "\x1B[0;35m"

source

pub const COL_LIGHT_PURPLE: &'static str = "\x1B[1;35m"

source

pub const COL_CYAN: &'static str = "\x1B[0;36m"

source

pub const COL_LIGHT_CYAN: &'static str = "\x1B[1;36m"

source

pub const COL_LIGHT_GRAY: &'static str = "\x1B[0;37m"

source

pub const COL_WHITE: &'static str = "\x1B[1;37m"

source

pub const WELCOME_LARGE: &'static str = _

source

pub const WELCOME_MEDIUM: &'static str = _

source

pub const WELCOME_SMALL: &'static str = _

source

pub const ABOUT: &'static str = _

source

pub const ABOUT_WASMER: &'static str = _

source

pub const HELP: &'static str = _

source

pub const BAD_WORKER: &'static str = _

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,

§

fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcastable for Twhere T: Any + Send + Sync + 'static,

§

fn upcast_any_ref(&self) -> &(dyn Any + 'static)

upcast ref
§

fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)

upcast mut ref
§

fn upcast_any_box(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

upcast boxed dyn
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more