pub struct LeanBracketedImportRequest {
pub declaration_names: Vec<String>,
}Expand description
Closed request for the experimental bracketed import path.
Fields§
§declaration_names: Vec<String>Implementations§
Source§impl LeanBracketedImportRequest
impl LeanBracketedImportRequest
pub fn new( declaration_names: impl IntoIterator<Item = impl Into<String>>, ) -> Self
Trait Implementations§
Source§impl Clone for LeanBracketedImportRequest
impl Clone for LeanBracketedImportRequest
Source§fn clone(&self) -> LeanBracketedImportRequest
fn clone(&self) -> LeanBracketedImportRequest
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 LeanBracketedImportRequest
impl Debug for LeanBracketedImportRequest
Source§impl Default for LeanBracketedImportRequest
impl Default for LeanBracketedImportRequest
Source§fn default() -> LeanBracketedImportRequest
fn default() -> LeanBracketedImportRequest
Returns the “default value” for a type. Read more
impl Eq for LeanBracketedImportRequest
Source§impl<'lean> IntoLean<'lean> for LeanBracketedImportRequest
impl<'lean> IntoLean<'lean> for LeanBracketedImportRequest
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 LeanBracketedImportRequest
impl<'lean> LeanAbi<'lean> for LeanBracketedImportRequest
Source§impl PartialEq for LeanBracketedImportRequest
impl PartialEq for LeanBracketedImportRequest
Source§fn eq(&self, other: &LeanBracketedImportRequest) -> bool
fn eq(&self, other: &LeanBracketedImportRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl SealedAbi for LeanBracketedImportRequest
impl StructuralPartialEq for LeanBracketedImportRequest
Auto Trait Implementations§
impl Freeze for LeanBracketedImportRequest
impl RefUnwindSafe for LeanBracketedImportRequest
impl Send for LeanBracketedImportRequest
impl Sync for LeanBracketedImportRequest
impl Unpin for LeanBracketedImportRequest
impl UnsafeUnpin for LeanBracketedImportRequest
impl UnwindSafe for LeanBracketedImportRequest
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).