pub struct AdapterMetadata {
pub name: String,
pub version: String,
pub compilation_target: CompilationTarget,
pub description: String,
pub supported_instructions: Vec<String>,
}Expand description
适配器元数据
描述适配器的基本信息和能力
Fields§
§name: String适配器名称
version: String适配器版本
compilation_target: CompilationTarget支持的编译目标
description: String适配器描述
supported_instructions: Vec<String>支持的指令集
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 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