pub struct CallableDef {
pub name: &'static str,
pub docs: &'static str,
pub signature: CallableSignature,
}Fields§
§name: &'static str§docs: &'static str§signature: CallableSignatureTrait Implementations§
Source§impl Clone for CallableDef
impl Clone for CallableDef
Source§fn clone(&self) -> CallableDef
fn clone(&self) -> CallableDef
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 CallableDef
Source§impl Debug for CallableDef
impl Debug for CallableDef
impl Eq for CallableDef
Source§impl PartialEq for CallableDef
impl PartialEq for CallableDef
impl StructuralPartialEq for CallableDef
Auto Trait Implementations§
impl Freeze for CallableDef
impl RefUnwindSafe for CallableDef
impl Send for CallableDef
impl Sync for CallableDef
impl Unpin for CallableDef
impl UnsafeUnpin for CallableDef
impl UnwindSafe for CallableDef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.