pub struct RuntimeApiMetadata<'a> { /* private fields */ }Expand description
Metadata for the available runtime APIs.
Implementations§
Source§impl<'a> RuntimeApiMetadata<'a>
impl<'a> RuntimeApiMetadata<'a>
Sourcepub fn methods(
&self,
) -> impl ExactSizeIterator<Item = RuntimeApiMethodMetadata<'a>> + use<'a>
pub fn methods( &self, ) -> impl ExactSizeIterator<Item = RuntimeApiMethodMetadata<'a>> + use<'a>
An iterator over the trait methods.
Sourcepub fn method_by_name(&self, name: &str) -> Option<RuntimeApiMethodMetadata<'a>>
pub fn method_by_name(&self, name: &str) -> Option<RuntimeApiMethodMetadata<'a>>
Get a specific trait method given its name.
Trait Implementations§
Source§impl<'a> Clone for RuntimeApiMetadata<'a>
impl<'a> Clone for RuntimeApiMetadata<'a>
Source§fn clone(&self) -> RuntimeApiMetadata<'a>
fn clone(&self) -> RuntimeApiMetadata<'a>
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<'a> Debug for RuntimeApiMetadata<'a>
impl<'a> Debug for RuntimeApiMetadata<'a>
impl<'a> Copy for RuntimeApiMetadata<'a>
Auto Trait Implementations§
impl<'a> Freeze for RuntimeApiMetadata<'a>
impl<'a> RefUnwindSafe for RuntimeApiMetadata<'a>
impl<'a> Send for RuntimeApiMetadata<'a>
impl<'a> Sync for RuntimeApiMetadata<'a>
impl<'a> Unpin for RuntimeApiMetadata<'a>
impl<'a> UnwindSafe for RuntimeApiMetadata<'a>
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