pub struct EntryPoint<'a, F: Fn()> {
pub name: &'a str,
pub params: &'a [&'a str],
pub func: F,
}Fields§
§name: &'a str§params: &'a [&'a str]§func: FTrait Implementations§
Auto Trait Implementations§
impl<'a, F> Freeze for EntryPoint<'a, F>where
F: Freeze,
impl<'a, F> RefUnwindSafe for EntryPoint<'a, F>where
F: RefUnwindSafe,
impl<'a, F> Send for EntryPoint<'a, F>where
F: Send,
impl<'a, F> Sync for EntryPoint<'a, F>where
F: Sync,
impl<'a, F> Unpin for EntryPoint<'a, F>where
F: Unpin,
impl<'a, F> UnsafeUnpin for EntryPoint<'a, F>where
F: UnsafeUnpin,
impl<'a, F> UnwindSafe for EntryPoint<'a, F>where
F: 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