pub struct OpaqueFn {
pub unit: String,
pub file: String,
pub module: Vec<String>,
pub self_path: Option<Vec<String>>,
pub name: String,
}Expand description
A function of #[leanfran::opaque], or a method of an inherent impl block with it.
Fields§
§unit: StringThe unit name: crate::<module>::<name>, or crate::<module>::<Type>::<name>.
file: StringThe file, relative to the crate.
module: Vec<String>The module path.
self_path: Option<Vec<String>>The type of the impl block of a method, as written there.
name: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for OpaqueFn
impl Freeze for OpaqueFn
impl Move for OpaqueFn
impl RefUnwindSafe for OpaqueFn
impl Send for OpaqueFn
impl Sync for OpaqueFn
impl Unpin for OpaqueFn
impl UnsafeUnpin for OpaqueFn
impl UnwindSafe for OpaqueFn
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