pub struct DeclarationSearchRequest {
pub name_fragment: Option<String>,
pub name_match: DeclarationNameMatch,
pub kind: Option<String>,
pub required_constants: Vec<String>,
pub conclusion_head: Option<String>,
pub scope_biases: Vec<DeclarationSearchBias>,
pub limit: usize,
pub filter: LeanDeclarationFilter,
pub include_source: bool,
}Fields§
§name_fragment: Option<String>§name_match: DeclarationNameMatch§kind: Option<String>§required_constants: Vec<String>§conclusion_head: Option<String>§scope_biases: Vec<DeclarationSearchBias>§limit: usize§filter: LeanDeclarationFilter§include_source: boolImplementations§
Trait Implementations§
Source§impl Clone for DeclarationSearchRequest
impl Clone for DeclarationSearchRequest
Source§fn clone(&self) -> DeclarationSearchRequest
fn clone(&self) -> DeclarationSearchRequest
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 DeclarationSearchRequest
impl Debug for DeclarationSearchRequest
impl Eq for DeclarationSearchRequest
Source§impl<'lean> IntoLean<'lean> for DeclarationSearchRequest
impl<'lean> IntoLean<'lean> for DeclarationSearchRequest
Source§fn into_lean(self, runtime: &'lean LeanRuntime) -> Obj<'lean>
fn into_lean(self, runtime: &'lean LeanRuntime) -> Obj<'lean>
Allocate (or scalar-box) a Lean representation of
self and return
the owned handle.Source§impl<'lean> LeanAbi<'lean> for DeclarationSearchRequest
impl<'lean> LeanAbi<'lean> for DeclarationSearchRequest
Source§impl<'lean> LeanAbi<'lean> for &DeclarationSearchRequest
impl<'lean> LeanAbi<'lean> for &DeclarationSearchRequest
Source§impl PartialEq for DeclarationSearchRequest
impl PartialEq for DeclarationSearchRequest
impl SealedAbi for DeclarationSearchRequest
impl SealedAbi for &DeclarationSearchRequest
impl StructuralPartialEq for DeclarationSearchRequest
Auto Trait Implementations§
impl Freeze for DeclarationSearchRequest
impl RefUnwindSafe for DeclarationSearchRequest
impl Send for DeclarationSearchRequest
impl Sync for DeclarationSearchRequest
impl Unpin for DeclarationSearchRequest
impl UnsafeUnpin for DeclarationSearchRequest
impl UnwindSafe for DeclarationSearchRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'lean, T> DecodeCallResult<'lean> for Twhere
T: LeanAbi<'lean>,
impl<'lean, T> DecodeCallResult<'lean> for Twhere
T: LeanAbi<'lean>,
const EXPECTS_IO_RESULT: bool = false
Source§type CRepr = <T as LeanAbi<'lean>>::CRepr
type CRepr = <T as LeanAbi<'lean>>::CRepr
The C-ABI return type of the Lake-emitted function. For the pure
path this is
T::CRepr (e.g. u8 for Bool exports, *mut lean_object for String); for the IO path it is always
*mut lean_object (the lean_io_result_* wrapper).