pub enum LeanExportSymbolKind {
Function,
Global,
}Expand description
Whether an exported symbol is callable code or a Lean persistent global.
Variants§
Function
Symbol resolves to a function entry point.
Global
Symbol resolves to a data-section lean_object* slot.
Implementations§
Trait Implementations§
Source§impl Clone for LeanExportSymbolKind
impl Clone for LeanExportSymbolKind
Source§fn clone(&self) -> LeanExportSymbolKind
fn clone(&self) -> LeanExportSymbolKind
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 LeanExportSymbolKind
impl Debug for LeanExportSymbolKind
Source§impl Hash for LeanExportSymbolKind
impl Hash for LeanExportSymbolKind
Source§impl PartialEq for LeanExportSymbolKind
impl PartialEq for LeanExportSymbolKind
Source§fn eq(&self, other: &LeanExportSymbolKind) -> bool
fn eq(&self, other: &LeanExportSymbolKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LeanExportSymbolKind
impl Eq for LeanExportSymbolKind
impl StructuralPartialEq for LeanExportSymbolKind
Auto Trait Implementations§
impl Freeze for LeanExportSymbolKind
impl RefUnwindSafe for LeanExportSymbolKind
impl Send for LeanExportSymbolKind
impl Sync for LeanExportSymbolKind
impl Unpin for LeanExportSymbolKind
impl UnsafeUnpin for LeanExportSymbolKind
impl UnwindSafe for LeanExportSymbolKind
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