#[repr(C)]pub struct RPluginManifest {
pub plugin_id: String,
pub display_name: String,
pub version: String,
pub sensors: Vec<RSensorDescriptor>,
pub devices: Vec<RHardwareDevice>,
}Fields§
§plugin_id: String§display_name: String§version: String§sensors: Vec<RSensorDescriptor>§devices: Vec<RHardwareDevice>ABI v4: plugin-declared hardware devices. See ADR-0002.
Implementations§
Source§impl RPluginManifest
impl RPluginManifest
Sourcepub const fn has_optimal_layout() -> bool
pub const fn has_optimal_layout() -> bool
Returns true if the layout for RPluginManifest is smaller or equal to that Rust would have generated for it.
Trait Implementations§
Source§impl Clone for RPluginManifest
impl Clone for RPluginManifest
Source§fn clone(&self) -> RPluginManifest
fn clone(&self) -> RPluginManifest
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 moreSource§impl Debug for RPluginManifest
impl Debug for RPluginManifest
Source§impl From<PluginManifest> for RPluginManifest
impl From<PluginManifest> for RPluginManifest
Source§fn from(m: PluginManifest) -> Self
fn from(m: PluginManifest) -> Self
Converts to this type from the input type.
Source§impl From<RPluginManifest> for PluginManifest
impl From<RPluginManifest> for PluginManifest
Source§fn from(r: RPluginManifest) -> Self
fn from(r: RPluginManifest) -> Self
Converts to this type from the input type.
Source§impl IStable for RPluginManifest
impl IStable for RPluginManifest
Source§const REPORT: &'static TypeReport
const REPORT: &'static TypeReport
A compile-time generated report of the fields of the type, allowing for compatibility inspection.
Source§const ID: u64
const ID: u64
A stable (and ideally unique) identifier for the type. Often generated using
crate::report::gen_id, but can be manually set.Source§type ForbiddenValues = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::ForbiddenValues
type ForbiddenValues = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::ForbiddenValues
The values that the annotated type cannot occupy.
Source§type UnusedBits = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::UnusedBits
type UnusedBits = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::UnusedBits
The padding bits in the annotated types
Source§type Size = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::Size
type Size = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::Size
The size of the annotated type in bytes.
Source§type Align = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::Align
type Align = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::Align
The alignment of the annotated type in bytes.
Source§type HasExactlyOneNiche = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::HasExactlyOneNiche
type HasExactlyOneNiche = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::HasExactlyOneNiche
Allows the detection of whether or not
core::option::Options are stable: Read moreSource§type ContainsIndirections = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::ContainsIndirections
type ContainsIndirections = <Struct<FieldPair<FieldPair<FieldPair<FieldPair<String, String>, String>, Vec<RSensorDescriptor>>, Vec<RHardwareDevice>>> as IStable>::ContainsIndirections
Whether or not the type contains indirections (pointers, indices in independent data-structures…)
Auto Trait Implementations§
impl Freeze for RPluginManifest
impl RefUnwindSafe for RPluginManifest
impl Send for RPluginManifest
impl Sync for RPluginManifest
impl Unpin for RPluginManifest
impl UnsafeUnpin for RPluginManifest
impl UnwindSafe for RPluginManifest
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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