pub struct TsserverBinary {
pub executable: PathBuf,
pub plugin_probe: Option<PathBuf>,
pub version: Option<String>,
pub source: BinarySource,
}Expand description
Captures everything needed to spawn a tsserver instance.
Fields§
§executable: PathBuf§plugin_probe: Option<PathBuf>§version: Option<String>§source: BinarySourceTrait Implementations§
Source§impl Clone for TsserverBinary
impl Clone for TsserverBinary
Source§fn clone(&self) -> TsserverBinary
fn clone(&self) -> TsserverBinary
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 moreAuto Trait Implementations§
impl Freeze for TsserverBinary
impl RefUnwindSafe for TsserverBinary
impl Send for TsserverBinary
impl Sync for TsserverBinary
impl Unpin for TsserverBinary
impl UnwindSafe for TsserverBinary
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