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 OpaqueFnwhere
RawVecInner: Send,
impl Sync for OpaqueFnwhere
RawVecInner: Sync,
impl Unpin for OpaqueFn
impl UnsafeUnpin for OpaqueFnwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for OpaqueFnwhere
RawVecInner: UnwindSafe,
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