pub struct LeanConfig {
pub executable: String,
pub args: Vec<String>,
pub driver: LeanDriver,
pub lake_executable: String,
pub lake_args: Vec<String>,
}Expand description
Command-line configuration for Lean 4.
Fields§
§executable: String§args: Vec<String>§driver: LeanDriver§lake_executable: String§lake_args: Vec<String>Implementations§
Source§impl LeanConfig
impl LeanConfig
pub fn new(executable: impl Into<String>) -> Self
pub fn with_arg(self, arg: impl Into<String>) -> Self
pub fn with_driver(self, driver: LeanDriver) -> Self
pub fn with_lake_executable(self, executable: impl Into<String>) -> Self
pub fn with_lake_arg(self, arg: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for LeanConfig
impl Clone for LeanConfig
Source§fn clone(&self) -> LeanConfig
fn clone(&self) -> LeanConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LeanConfig
impl Debug for LeanConfig
Source§impl Default for LeanConfig
impl Default for LeanConfig
impl Eq for LeanConfig
Source§impl PartialEq for LeanConfig
impl PartialEq for LeanConfig
Source§fn eq(&self, other: &LeanConfig) -> bool
fn eq(&self, other: &LeanConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LeanConfig
Auto Trait Implementations§
impl Freeze for LeanConfig
impl RefUnwindSafe for LeanConfig
impl Send for LeanConfig
impl Sync for LeanConfig
impl Unpin for LeanConfig
impl UnsafeUnpin for LeanConfig
impl UnwindSafe for LeanConfig
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