pub struct PythonTools {
pub uv: Choice,
pub ruff: Choice,
pub ty: Choice,
pub format_on_save: bool,
pub ty_server: bool,
pub ruff_server: bool,
}Expand description
The app’s Python tools and what they do.
Fields§
§uv: Choice§ruff: Choice§ty: Choice§format_on_save: boolruff formats a script when it is saved.
ty_server: boolThe editor talks to ty’s language server (type problems as you type, hover, completions,
definitions) rather than running ty check after a save.
ruff_server: boolThe editor talks to ruff’s language server (lint problems, fixes) rather than running
ruff check after a save.
Implementations§
Trait Implementations§
Source§impl Clone for PythonTools
impl Clone for PythonTools
Source§impl Debug for PythonTools
impl Debug for PythonTools
Source§impl Default for PythonTools
impl Default for PythonTools
Source§impl<'de> Deserialize<'de> for PythonToolswhere
PythonTools: Default,
impl<'de> Deserialize<'de> for PythonToolswhere
PythonTools: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PythonTools
Source§impl PartialEq for PythonTools
impl PartialEq for PythonTools
Source§impl Serialize for PythonTools
impl Serialize for PythonTools
impl StructuralPartialEq for PythonTools
Auto Trait Implementations§
impl Forget for PythonTools
impl Freeze for PythonTools
impl Move for PythonTools
impl RefUnwindSafe for PythonTools
impl Send for PythonToolswhere
RawVecInner: Send,
impl Sync for PythonToolswhere
RawVecInner: Sync,
impl Unpin for PythonTools
impl UnsafeUnpin for PythonTools
impl UnwindSafe for PythonToolswhere
RawVecInner: UnwindSafe,
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