Struct stc::check::TestCommand
source · [−]pub struct TestCommand {
pub file: String,
pub libs: Option<Vec<String>>,
pub types: Option<Vec<String>>,
}
Expand description
Perform type checking, but this command is not public api and is only used for testing.
Fields
file: String
libs: Option<Vec<String>>
The builtin libraries to load. Defaults to es5
.
types: Option<Vec<String>>
Directory name of typings to load.
Trait Implementations
sourceimpl Args for TestCommand
impl Args for TestCommand
sourcefn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the
ArgGroup::id
for this set of argumentssourcefn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
sourceimpl Debug for TestCommand
impl Debug for TestCommand
sourceimpl FromArgMatches for TestCommand
impl FromArgMatches for TestCommand
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
sourcefn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
sourcefn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from
ArgMatches
to self
.sourcefn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Auto Trait Implementations
impl RefUnwindSafe for TestCommand
impl Send for TestCommand
impl Sync for TestCommand
impl Unpin for TestCommand
impl UnwindSafe for TestCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more