pub struct CliEntrypoint {
pub lib: Symbol,
pub symbol: Symbol,
}Expand description
A loaded function that owns command-line execution.
Fields§
§lib: SymbolLibrary that exported the entrypoint.
symbol: SymbolExported function symbol invoked for the handoff.
Trait Implementations§
Source§impl Clone for CliEntrypoint
impl Clone for CliEntrypoint
Source§fn clone(&self) -> CliEntrypoint
fn clone(&self) -> CliEntrypoint
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 CliEntrypoint
impl Debug for CliEntrypoint
impl Eq for CliEntrypoint
Source§impl PartialEq for CliEntrypoint
impl PartialEq for CliEntrypoint
Source§fn eq(&self, other: &CliEntrypoint) -> bool
fn eq(&self, other: &CliEntrypoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CliEntrypoint
Auto Trait Implementations§
impl Freeze for CliEntrypoint
impl RefUnwindSafe for CliEntrypoint
impl Send for CliEntrypoint
impl Sync for CliEntrypoint
impl Unpin for CliEntrypoint
impl UnsafeUnpin for CliEntrypoint
impl UnwindSafe for CliEntrypoint
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