pub struct LeanWorkerDeclarationProofSearchFacts {
pub computed: bool,
pub unavailable_reason: Option<String>,
pub is_simp: bool,
pub is_rw_candidate: bool,
pub is_instance: bool,
pub is_class: bool,
pub class_name: Option<String>,
}Expand description
Cheap proof-search facts for one declaration.
Fields§
§computed: bool§is_simp: bool§is_rw_candidate: bool§is_instance: bool§is_class: bool§class_name: Option<String>Trait Implementations§
Source§impl Clone for LeanWorkerDeclarationProofSearchFacts
impl Clone for LeanWorkerDeclarationProofSearchFacts
Source§fn clone(&self) -> LeanWorkerDeclarationProofSearchFacts
fn clone(&self) -> LeanWorkerDeclarationProofSearchFacts
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 Default for LeanWorkerDeclarationProofSearchFacts
impl Default for LeanWorkerDeclarationProofSearchFacts
Source§fn default() -> LeanWorkerDeclarationProofSearchFacts
fn default() -> LeanWorkerDeclarationProofSearchFacts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LeanWorkerDeclarationProofSearchFacts
impl<'de> Deserialize<'de> for LeanWorkerDeclarationProofSearchFacts
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerDeclarationProofSearchFacts, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerDeclarationProofSearchFacts, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerDeclarationProofSearchFacts
Source§impl PartialEq for LeanWorkerDeclarationProofSearchFacts
impl PartialEq for LeanWorkerDeclarationProofSearchFacts
Source§fn eq(&self, other: &LeanWorkerDeclarationProofSearchFacts) -> bool
fn eq(&self, other: &LeanWorkerDeclarationProofSearchFacts) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerDeclarationProofSearchFacts
impl Serialize for LeanWorkerDeclarationProofSearchFacts
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerDeclarationProofSearchFacts
Auto Trait Implementations§
impl Freeze for LeanWorkerDeclarationProofSearchFacts
impl RefUnwindSafe for LeanWorkerDeclarationProofSearchFacts
impl Send for LeanWorkerDeclarationProofSearchFacts
impl Sync for LeanWorkerDeclarationProofSearchFacts
impl Unpin for LeanWorkerDeclarationProofSearchFacts
impl UnsafeUnpin for LeanWorkerDeclarationProofSearchFacts
impl UnwindSafe for LeanWorkerDeclarationProofSearchFacts
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