pub struct CallbackInterfaceMetadata {
pub module_path: String,
pub name: String,
pub docstring: Option<String>,
}Fields§
§module_path: String§name: String§docstring: Option<String>Trait Implementations§
Source§impl Clone for CallbackInterfaceMetadata
impl Clone for CallbackInterfaceMetadata
Source§fn clone(&self) -> CallbackInterfaceMetadata
fn clone(&self) -> CallbackInterfaceMetadata
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 moreSource§impl Debug for CallbackInterfaceMetadata
impl Debug for CallbackInterfaceMetadata
Source§impl Default for CallbackInterfaceMetadata
impl Default for CallbackInterfaceMetadata
Source§impl From<CallbackInterfaceMetadata> for Metadata
impl From<CallbackInterfaceMetadata> for Metadata
Source§fn from(v: CallbackInterfaceMetadata) -> Self
fn from(v: CallbackInterfaceMetadata) -> Self
Converts to this type from the input type.
Source§impl Node for CallbackInterfaceMetadata
impl Node for CallbackInterfaceMetadata
Source§fn visit_children(
&self,
visitor: &mut dyn FnMut(&str, &dyn Node) -> Result<()>,
) -> Result<()>
fn visit_children( &self, visitor: &mut dyn FnMut(&str, &dyn Node) -> Result<()>, ) -> Result<()>
Call a visitor function for all child nodes Read more
Source§fn visit_children_mut(
&mut self,
visitor: &mut dyn FnMut(&str, &mut dyn Node) -> Result<()>,
) -> Result<()>
fn visit_children_mut( &mut self, visitor: &mut dyn FnMut(&str, &mut dyn Node) -> Result<()>, ) -> Result<()>
Like visit_children, but use &mut. Read more
Source§fn take_into_value(&mut self) -> Value
fn take_into_value(&mut self) -> Value
Create a value from this node’s data Read more
Source§fn try_from_value(value: Value) -> Result<Self, FromValueError>
fn try_from_value(value: Value) -> Result<Self, FromValueError>
Convert a value into this node.
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Convert
&Node into &mut dyn Any.fn to_box_any(self: Box<Self>) -> Box<dyn Any>
fn visit<T>(&self, visitor: impl FnMut(&T))
fn visit_mut<T>(&mut self, visitor: impl FnMut(&mut T))
fn try_visit<T>( &self, visitor: impl FnMut(&T) -> Result<(), Error>, ) -> Result<(), Error>
fn try_visit_mut<T>( &mut self, visitor: impl FnMut(&mut T) -> Result<(), Error>, ) -> Result<(), Error>
Source§fn has_descendant<T>(&self, matcher: impl FnMut(&T) -> bool) -> bool
fn has_descendant<T>(&self, matcher: impl FnMut(&T) -> bool) -> bool
Does this node has any descendant where the closure returns
true?Source§fn has_descendant_with_type<T>(&self) -> bool
fn has_descendant_with_type<T>(&self) -> bool
Does this node have any descendant of a given type?
Source§impl Ord for CallbackInterfaceMetadata
impl Ord for CallbackInterfaceMetadata
Source§fn cmp(&self, other: &CallbackInterfaceMetadata) -> Ordering
fn cmp(&self, other: &CallbackInterfaceMetadata) -> Ordering
1.21.0 · 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
Source§impl PartialOrd for CallbackInterfaceMetadata
impl PartialOrd for CallbackInterfaceMetadata
impl Eq for CallbackInterfaceMetadata
impl StructuralPartialEq for CallbackInterfaceMetadata
Auto Trait Implementations§
impl Freeze for CallbackInterfaceMetadata
impl RefUnwindSafe for CallbackInterfaceMetadata
impl Send for CallbackInterfaceMetadata
impl Sync for CallbackInterfaceMetadata
impl Unpin for CallbackInterfaceMetadata
impl UnwindSafe for CallbackInterfaceMetadata
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.