WorkspaceConfigInput

Struct WorkspaceConfigInput 

Source
struct WorkspaceConfigInput {
Show 49 fields cargo_allTargets: Option<bool>, cargo_autoreload: Option<bool>, cargo_buildScripts_enable: Option<bool>, cargo_buildScripts_invocationStrategy: Option<InvocationStrategy>, cargo_buildScripts_overrideCommand: Option<Option<Vec<String>>>, cargo_buildScripts_rebuildOnSave: Option<bool>, cargo_buildScripts_useRustcWrapper: Option<bool>, cargo_cfgs: Option<Vec<String>>, cargo_extraArgs: Option<Vec<String>>, cargo_extraEnv: Option<FxHashMap<String, Option<String>>>, cargo_features: Option<CargoFeaturesDef>, cargo_noDefaultFeatures: Option<bool>, cargo_noDeps: Option<bool>, cargo_sysroot: Option<Option<String>>, cargo_sysrootSrc: Option<Option<String>>, cargo_target: Option<Option<String>>, cargo_targetDir: Option<Option<TargetDirectory>>, cfg_setTest: Option<bool>, checkOnSave: Option<bool>, check_allTargets: Option<Option<bool>>, check_command: Option<String>, check_extraArgs: Option<Vec<String>>, check_extraEnv: Option<FxHashMap<String, Option<String>>>, check_features: Option<Option<CargoFeaturesDef>>, check_ignore: Option<FxHashSet<String>>, check_invocationStrategy: Option<InvocationStrategy>, check_noDefaultFeatures: Option<Option<bool>>, check_overrideCommand: Option<Option<Vec<String>>>, check_targets: Option<Option<CheckOnSaveTargets>>, check_workspace: Option<bool>, document_symbol_search_excludeLocals: Option<bool>, procMacro_ignored: Option<FxHashMap<Box<str>, Box<[Box<str>]>>>, runnables_bench_command: Option<String>, runnables_bench_overrideCommand: Option<Option<Vec<String>>>, runnables_command: Option<Option<String>>, runnables_doctest_overrideCommand: Option<Option<Vec<String>>>, runnables_extraArgs: Option<Vec<String>>, runnables_extraTestBinaryArgs: Option<Vec<String>>, runnables_test_command: Option<String>, runnables_test_overrideCommand: Option<Option<Vec<String>>>, rustc_source: Option<Option<String>>, rustfmt_extraArgs: Option<Vec<String>>, rustfmt_overrideCommand: Option<Option<Vec<String>>>, rustfmt_rangeFormatting_enable: Option<bool>, vfs_extraIncludes: Option<Vec<String>>, workspace_symbol_search_excludeImports: Option<bool>, workspace_symbol_search_kind: Option<WorkspaceSymbolSearchKindDef>, workspace_symbol_search_limit: Option<usize>, workspace_symbol_search_scope: Option<WorkspaceSymbolSearchScopeDef>,
}
Expand description

All fields Option<T>, None representing fields not set in a particular JSON/TOML blob.

Fields§

§cargo_allTargets: Option<bool>§cargo_autoreload: Option<bool>§cargo_buildScripts_enable: Option<bool>§cargo_buildScripts_invocationStrategy: Option<InvocationStrategy>§cargo_buildScripts_overrideCommand: Option<Option<Vec<String>>>§cargo_buildScripts_rebuildOnSave: Option<bool>§cargo_buildScripts_useRustcWrapper: Option<bool>§cargo_cfgs: Option<Vec<String>>§cargo_extraArgs: Option<Vec<String>>§cargo_extraEnv: Option<FxHashMap<String, Option<String>>>§cargo_features: Option<CargoFeaturesDef>§cargo_noDefaultFeatures: Option<bool>§cargo_noDeps: Option<bool>§cargo_sysroot: Option<Option<String>>§cargo_sysrootSrc: Option<Option<String>>§cargo_target: Option<Option<String>>§cargo_targetDir: Option<Option<TargetDirectory>>§cfg_setTest: Option<bool>§checkOnSave: Option<bool>§check_allTargets: Option<Option<bool>>§check_command: Option<String>§check_extraArgs: Option<Vec<String>>§check_extraEnv: Option<FxHashMap<String, Option<String>>>§check_features: Option<Option<CargoFeaturesDef>>§check_ignore: Option<FxHashSet<String>>§check_invocationStrategy: Option<InvocationStrategy>§check_noDefaultFeatures: Option<Option<bool>>§check_overrideCommand: Option<Option<Vec<String>>>§check_targets: Option<Option<CheckOnSaveTargets>>§check_workspace: Option<bool>§document_symbol_search_excludeLocals: Option<bool>§procMacro_ignored: Option<FxHashMap<Box<str>, Box<[Box<str>]>>>§runnables_bench_command: Option<String>§runnables_bench_overrideCommand: Option<Option<Vec<String>>>§runnables_command: Option<Option<String>>§runnables_doctest_overrideCommand: Option<Option<Vec<String>>>§runnables_extraArgs: Option<Vec<String>>§runnables_extraTestBinaryArgs: Option<Vec<String>>§runnables_test_command: Option<String>§runnables_test_overrideCommand: Option<Option<Vec<String>>>§rustc_source: Option<Option<String>>§rustfmt_extraArgs: Option<Vec<String>>§rustfmt_overrideCommand: Option<Option<Vec<String>>>§rustfmt_rangeFormatting_enable: Option<bool>§vfs_extraIncludes: Option<Vec<String>>§workspace_symbol_search_excludeImports: Option<bool>§workspace_symbol_search_kind: Option<WorkspaceSymbolSearchKindDef>§workspace_symbol_search_limit: Option<usize>§workspace_symbol_search_scope: Option<WorkspaceSymbolSearchScopeDef>

Implementations§

Source§

impl WorkspaceConfigInput

Source

const FIELDS: &'static [&'static str]

Source

fn from_json(json: &mut Value, error_sink: &mut Vec<(String, Error)>) -> Self

Source

fn from_toml(toml: &Table, error_sink: &mut Vec<(String, Error)>) -> Self

Source

fn schema_fields( sink: &mut Vec<(&'static str, &'static str, &'static [&'static str], String)>, )

Trait Implementations§

Source§

impl Clone for WorkspaceConfigInput

Source§

fn clone(&self) -> WorkspaceConfigInput

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WorkspaceConfigInput

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for WorkspaceConfigInput

Source§

fn default() -> WorkspaceConfigInput

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T, R> CollectAndApply<T, R> for T

§

fn collect_and_apply<I, F>(iter: I, f: F) -> R
where I: Iterator<Item = T>, F: FnOnce(&[T]) -> R,

Equivalent to f(&iter.collect::<Vec<_>>()).

§

type Output = R

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

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 T
where 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> IntoBox<dyn Any> for T
where T: Any,

§

fn into_box(self) -> Box<dyn Any>

Convert self into the appropriate boxed form.
§

impl<T> IntoBox<dyn Any + Send> for T
where T: Any + Send,

§

fn into_box(self) -> Box<dyn Any + Send>

Convert self into the appropriate boxed form.
§

impl<T> IntoBox<dyn Any + Send + Sync> for T
where T: Any + Send + Sync,

§

fn into_box(self) -> Box<dyn Any + Send + Sync>

Convert self into the appropriate boxed form.
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

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 T
where U: TryFrom<T>,

Source§

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<I, T, U> Upcast<I, U> for T
where U: UpcastFrom<I, T>,

§

fn upcast(self, interner: I) -> U

§

impl<I, T> UpcastFrom<I, T> for T

§

fn upcast_from(from: T, _tcx: I) -> T

§

impl<T> WithSubscriber for T

§

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
§

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<'a, T> Captures<'a> for T
where T: ?Sized,

§

impl<T> ErasedDestructor for T
where T: 'static,