pub struct LeanImport {
pub module: String,
}Expand description
A Lean module import.
Fields§
§module: StringImplementations§
Source§impl LeanImport
impl LeanImport
pub fn new(module: impl Into<String>) -> LeanImport
Trait Implementations§
Source§impl Clone for LeanImport
impl Clone for LeanImport
Source§fn clone(&self) -> LeanImport
fn clone(&self) -> LeanImport
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 LeanImport
impl Debug for LeanImport
Source§impl Ord for LeanImport
impl Ord for LeanImport
Source§fn cmp(&self, other: &LeanImport) -> Ordering
fn cmp(&self, other: &LeanImport) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LeanImport
impl PartialEq for LeanImport
Source§impl PartialOrd for LeanImport
impl PartialOrd for LeanImport
impl Eq for LeanImport
impl StructuralPartialEq for LeanImport
Auto Trait Implementations§
impl Freeze for LeanImport
impl RefUnwindSafe for LeanImport
impl Send for LeanImport
impl Sync for LeanImport
impl Unpin for LeanImport
impl UnsafeUnpin for LeanImport
impl UnwindSafe for LeanImport
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