pub struct AdapterMetadata {
pub name: String,
pub version: String,
pub compilation_target: CompilationTarget,
pub description: String,
pub supported_instructions: Vec<String>,
}Expand description
Adapter metadata.
Describes basic information and capabilities of an adapter.
Fields§
§name: StringAdapter name.
version: StringAdapter version.
compilation_target: CompilationTargetSupported compilation target.
description: StringAdapter description.
supported_instructions: Vec<String>Supported instruction sets.
Trait Implementations§
Source§impl Clone for AdapterMetadata
impl Clone for AdapterMetadata
Source§fn clone(&self) -> AdapterMetadata
fn clone(&self) -> AdapterMetadata
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 moreAuto Trait Implementations§
impl Freeze for AdapterMetadata
impl RefUnwindSafe for AdapterMetadata
impl Send for AdapterMetadata
impl Sync for AdapterMetadata
impl Unpin for AdapterMetadata
impl UnsafeUnpin for AdapterMetadata
impl UnwindSafe for AdapterMetadata
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