pub struct TsserverLaunchOptions {
pub locale: Option<String>,
pub log_directory: Option<PathBuf>,
pub log_verbosity: Option<TsserverLogVerbosity>,
pub max_old_space_size: Option<u32>,
pub global_plugins: Vec<String>,
pub plugin_probe_dirs: Vec<PathBuf>,
pub extra_args: Vec<String>,
}Expand description
Launch-related knobs for the underlying tsserver Node process.
Fields§
§locale: Option<String>§log_directory: Option<PathBuf>§log_verbosity: Option<TsserverLogVerbosity>§max_old_space_size: Option<u32>§global_plugins: Vec<String>§plugin_probe_dirs: Vec<PathBuf>§extra_args: Vec<String>Trait Implementations§
Source§impl Clone for TsserverLaunchOptions
impl Clone for TsserverLaunchOptions
Source§fn clone(&self) -> TsserverLaunchOptions
fn clone(&self) -> TsserverLaunchOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TsserverLaunchOptions
impl Debug for TsserverLaunchOptions
Source§impl Default for TsserverLaunchOptions
impl Default for TsserverLaunchOptions
Source§fn default() -> TsserverLaunchOptions
fn default() -> TsserverLaunchOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for TsserverLaunchOptions
impl PartialEq for TsserverLaunchOptions
impl Eq for TsserverLaunchOptions
impl StructuralPartialEq for TsserverLaunchOptions
Auto Trait Implementations§
impl Freeze for TsserverLaunchOptions
impl RefUnwindSafe for TsserverLaunchOptions
impl Send for TsserverLaunchOptions
impl Sync for TsserverLaunchOptions
impl Unpin for TsserverLaunchOptions
impl UnwindSafe for TsserverLaunchOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more