pub enum BinderKind {
Explicit,
Implicit,
StrictImplicit,
Instance,
}Expand description
A binder annotation, as Lean’s BinderInfo records it.
Variants§
Trait Implementations§
Source§impl Clone for BinderKind
impl Clone for BinderKind
Source§fn clone(&self) -> BinderKind
fn clone(&self) -> BinderKind
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 BinderKind
impl Debug for BinderKind
Source§impl<'de> Deserialize<'de> for BinderKind
impl<'de> Deserialize<'de> for BinderKind
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
Source§impl PartialEq for BinderKind
impl PartialEq for BinderKind
Source§impl Serialize for BinderKind
impl Serialize for BinderKind
impl Copy for BinderKind
impl Eq for BinderKind
impl StructuralPartialEq for BinderKind
Auto Trait Implementations§
impl Freeze for BinderKind
impl RefUnwindSafe for BinderKind
impl Send for BinderKind
impl Sync for BinderKind
impl Unpin for BinderKind
impl UnsafeUnpin for BinderKind
impl UnwindSafe for BinderKind
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