#[repr(C)]pub struct MethodMetaEntry {
pub kvs: *const MetaKv,
pub kv_count: u32,
}Expand description
Per-method metadata entry. One entry per method in declaration order,
stored in the array referenced by PluginDescriptor::method_metadata.
Methods with no #[method_meta(...)] annotations have kvs: null and
kv_count: 0 — the entry exists but is empty, so hosts can index
uniformly by method index.
Fields§
§kvs: *const MetaKvPointer to an array of kv_count MetaKv entries, or null if this
method has no metadata.
kv_count: u32Number of key/value pairs for this method. Zero when kvs is null.
Trait Implementations§
impl Send for MethodMetaEntry
impl Sync for MethodMetaEntry
Auto Trait Implementations§
impl Freeze for MethodMetaEntry
impl RefUnwindSafe for MethodMetaEntry
impl Unpin for MethodMetaEntry
impl UnsafeUnpin for MethodMetaEntry
impl UnwindSafe for MethodMetaEntry
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