pub struct ContextBinding {
pub name: String,
pub callback: ContextBindingCallback,
}Expand description
Stored binding information for context-level functions.
Fields§
§name: StringFunction name.
callback: ContextBindingCallbackThe callback function.
Trait Implementations§
Source§impl Clone for ContextBinding
impl Clone for ContextBinding
Source§fn clone(&self) -> ContextBinding
fn clone(&self) -> ContextBinding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContextBinding
impl !RefUnwindSafe for ContextBinding
impl Send for ContextBinding
impl Sync for ContextBinding
impl Unpin for ContextBinding
impl !UnwindSafe for ContextBinding
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