pub struct InvocationContext {
pub origin: InvocationOrigin,
}Fields§
§origin: InvocationOriginImplementations§
Source§impl InvocationContext
impl InvocationContext
pub fn new(origin: InvocationOrigin) -> Self
Trait Implementations§
Source§impl Clone for InvocationContext
impl Clone for InvocationContext
Source§fn clone(&self) -> InvocationContext
fn clone(&self) -> InvocationContext
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 moreimpl Copy for InvocationContext
Source§impl Debug for InvocationContext
impl Debug for InvocationContext
impl Eq for InvocationContext
Source§impl PartialEq for InvocationContext
impl PartialEq for InvocationContext
Source§fn eq(&self, other: &InvocationContext) -> bool
fn eq(&self, other: &InvocationContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InvocationContext
Auto Trait Implementations§
impl Freeze for InvocationContext
impl RefUnwindSafe for InvocationContext
impl Send for InvocationContext
impl Sync for InvocationContext
impl Unpin for InvocationContext
impl UnsafeUnpin for InvocationContext
impl UnwindSafe for InvocationContext
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