pub struct HookBinding {
pub hook: Hook,
pub callee: Callee,
}Expand description
Fields§
§hook: HookThe hook.
callee: CalleeThe function that implements it.
Trait Implementations§
Source§impl Clone for HookBinding
impl Clone for HookBinding
impl Copy for HookBinding
Source§impl Debug for HookBinding
impl Debug for HookBinding
impl Eq for HookBinding
Source§impl Hash for HookBinding
impl Hash for HookBinding
Source§impl Ord for HookBinding
impl Ord for HookBinding
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HookBinding
impl PartialEq for HookBinding
Source§impl PartialOrd for HookBinding
impl PartialOrd for HookBinding
impl StructuralPartialEq for HookBinding
Auto Trait Implementations§
impl Freeze for HookBinding
impl RefUnwindSafe for HookBinding
impl Send for HookBinding
impl Sync for HookBinding
impl Unpin for HookBinding
impl UnsafeUnpin for HookBinding
impl UnwindSafe for HookBinding
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