pub enum LeanImportProfileMode {
FullSession(LeanSessionImportProfile),
ExportedNoExts,
}Expand description
Closed import-mode matrix for profiling diagnostics.
Variants§
FullSession(LeanSessionImportProfile)
ExportedNoExts
Implementations§
Source§impl LeanImportProfileMode
impl LeanImportProfileMode
pub const fn label(self) -> &'static str
pub const fn import_all(self) -> bool
pub const fn import_level(self) -> LeanImportLevel
pub const fn load_exts(self) -> bool
Trait Implementations§
Source§impl Clone for LeanImportProfileMode
impl Clone for LeanImportProfileMode
Source§fn clone(&self) -> LeanImportProfileMode
fn clone(&self) -> LeanImportProfileMode
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 moreimpl Copy for LeanImportProfileMode
Source§impl Debug for LeanImportProfileMode
impl Debug for LeanImportProfileMode
impl Eq for LeanImportProfileMode
Source§impl PartialEq for LeanImportProfileMode
impl PartialEq for LeanImportProfileMode
impl StructuralPartialEq for LeanImportProfileMode
Auto Trait Implementations§
impl Freeze for LeanImportProfileMode
impl RefUnwindSafe for LeanImportProfileMode
impl Send for LeanImportProfileMode
impl Sync for LeanImportProfileMode
impl Unpin for LeanImportProfileMode
impl UnsafeUnpin for LeanImportProfileMode
impl UnwindSafe for LeanImportProfileMode
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