pub struct Exported {
pub lean: String,
pub type_params: Vec<String>,
pub instances: Vec<(String, String)>,
}Expand description
The arguments of #[leanfran::exported(..)]: the Lean name, and for a generic function
generated from rust_instances the type parameters of the Lean function and its
instantiations by Rust type (type_params = ["α"], instances = [("u32", "f.inst_U32")]).
Fields§
§lean: String§type_params: Vec<String>§instances: Vec<(String, String)>Trait Implementations§
impl StructuralPartialEq for Exported
Auto Trait Implementations§
impl Forget for Exported
impl Freeze for Exported
impl Move for Exported
impl RefUnwindSafe for Exported
impl Send for Exported
impl Sync for Exported
impl Unpin for Exported
impl UnsafeUnpin for Exported
impl UnwindSafe for Exported
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