Docs.rs
workflow-terminal-0.18.0
workflow-terminal 0.18.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
aspect
surinder83singh
Dependencies
async-std ^1.12.0
normal
async-trait ^0.1.74
normal
cfg-if ^1.0.0
normal
downcast ^0.11.0
normal
futures ^0.3.29
normal
js-sys ^0.3.64
normal
numtoa ^0.2.4
normal
nw-sys ^0.1.6
normal
pad ^0.1.6
normal
regex ^1.10.2
normal
textwrap ^0.16.0
normal
thiserror ^1.0.50
normal
wasm-bindgen ^0.2.93
normal
wasm-bindgen-futures ^0.4.43
normal
web-sys ^0.3.70
normal
workflow-core ^0.18.0
normal
workflow-dom ^0.18.0
normal
workflow-log ^0.18.0
normal
workflow-terminal-macros ^0.18.0
normal
workflow-wasm ^0.18.0
normal
tokio ^1.33.0
dev
crossterm ^0.27.0
normal
termion ^4.0.2
normal
optional
Versions
16.78%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
workflow_
terminal
0.18.0
Context
Required Methods
term
Methods
downcast
downcast
downcast_arc
downcast_arc
downcast_mut
downcast_mut
downcast_rc
downcast_rc
downcast_ref
downcast_ref
is
is
Trait Implementations
Downcast<_T>
Downcast<_T>
DowncastSync<_T>
DowncastSync<_T>
From<&(dyn Context + 'static)>
Implementors
In workflow_
terminal::
cli
workflow_terminal
::
cli
Trait
Context
Copy item path
Source
pub trait Context:
Sync
+
Send
+
AnySync
{ // Required method fn
term
(&self) ->
Arc
<
Terminal
>; }
Required Methods
§
Source
fn
term
(&self) ->
Arc
<
Terminal
>
Implementations
§
Source
§
impl dyn
Context
Source
pub fn
is
<_T>(&self) ->
bool
where _T:
Any
, Self:
Downcast
<_T>,
Source
pub fn
downcast_ref
<_T>(&self) ->
Result
<
&_T
,
TypeMismatch
>
where _T:
Any
, Self:
Downcast
<_T>,
Source
pub fn
downcast_mut
<_T>(&mut self) ->
Result
<
&mut _T
,
TypeMismatch
>
where _T:
Any
, Self:
Downcast
<_T>,
Source
pub fn
downcast
<_T>( self:
Box
<Self>, ) ->
Result
<
Box
<_T>,
DowncastError
<
Box
<Self>>>
where _T:
Any
, Self:
Downcast
<_T>,
Source
pub fn
downcast_rc
<_T>( self:
Rc
<Self>, ) ->
Result
<
Rc
<_T>,
DowncastError
<
Rc
<Self>>>
where _T:
Any
, Self:
Downcast
<_T>,
Source
pub fn
downcast_arc
<_T>( self:
Arc
<Self>, ) ->
Result
<
Arc
<_T>,
DowncastError
<
Arc
<Self>>>
where _T:
AnySync
, Self:
DowncastSync
<_T>,
Source
§
impl dyn
Context
+
Sync
+
Send
Source
pub fn
is
<_T>(&self) ->
bool
where _T:
Any
, Self:
Downcast
<_T>,
Source
pub fn
downcast_ref
<_T>(&self) ->
Result
<
&_T
,
TypeMismatch
>
where _T:
Any
, Self:
Downcast
<_T>,
Source
pub fn
downcast_mut
<_T>(&mut self) ->
Result
<
&mut _T
,
TypeMismatch
>
where _T:
Any
, Self:
Downcast
<_T>,
Source
pub fn
downcast
<_T>( self:
Box
<Self>, ) ->
Result
<
Box
<_T>,
DowncastError
<
Box
<Self>>>
where _T:
Any
, Self:
Downcast
<_T>,
Source
pub fn
downcast_rc
<_T>( self:
Rc
<Self>, ) ->
Result
<
Rc
<_T>,
DowncastError
<
Rc
<Self>>>
where _T:
Any
, Self:
Downcast
<_T>,
Source
pub fn
downcast_arc
<_T>( self:
Arc
<Self>, ) ->
Result
<
Arc
<_T>,
DowncastError
<
Arc
<Self>>>
where _T:
AnySync
, Self:
DowncastSync
<_T>,
Trait Implementations
§
Source
§
impl<_T>
Downcast
<_T> for dyn
Context
where _T:
Any
,
Source
§
fn
is_type
(&self) ->
bool
Source
§
fn
downcast_ref
(&self) ->
Result
<
&T
,
TypeMismatch
>
Source
§
fn
downcast_mut
(&mut self) ->
Result
<
&mut T
,
TypeMismatch
>
Source
§
fn
downcast
(self:
Box
<Self>) ->
Result
<
Box
<T>,
DowncastError
<
Box
<Self>>>
Source
§
fn
downcast_rc
(self:
Rc
<Self>) ->
Result
<
Rc
<T>,
DowncastError
<
Rc
<Self>>>
Source
§
impl<_T>
Downcast
<_T> for dyn
Context
+
Sync
+
Send
where _T:
Any
,
Source
§
fn
is_type
(&self) ->
bool
Source
§
fn
downcast_ref
(&self) ->
Result
<
&T
,
TypeMismatch
>
Source
§
fn
downcast_mut
(&mut self) ->
Result
<
&mut T
,
TypeMismatch
>
Source
§
fn
downcast
(self:
Box
<Self>) ->
Result
<
Box
<T>,
DowncastError
<
Box
<Self>>>
Source
§
fn
downcast_rc
(self:
Rc
<Self>) ->
Result
<
Rc
<T>,
DowncastError
<
Rc
<Self>>>
Source
§
impl<_T>
DowncastSync
<_T> for dyn
Context
where _T:
AnySync
,
Source
§
fn
downcast_arc
(self:
Arc
<Self>) ->
Result
<
Arc
<T>,
DowncastError
<
Arc
<Self>>>
Source
§
impl<_T>
DowncastSync
<_T> for dyn
Context
+
Sync
+
Send
where _T:
AnySync
,
Source
§
fn
downcast_arc
(self:
Arc
<Self>) ->
Result
<
Arc
<T>,
DowncastError
<
Arc
<Self>>>
Source
§
impl
From
<&(dyn
Context
+ 'static)> for
Arc
<
Terminal
>
Source
§
fn
from
(ctx: &dyn
Context
) ->
Arc
<
Terminal
>
Converts to this type from the input type.
Implementors
§