pub struct FunctionMapping {
pub common_name: String,
pub platform_mappings: HashMap<String, String>,
pub description: Option<String>,
}Expand description
函数映射配置
定义了通用函数名到平台特定函数名的映射关系
Fields§
§common_name: String通用函数名
platform_mappings: HashMap<String, String>平台特定映射
description: Option<String>函数描述
Trait Implementations§
Source§impl Clone for FunctionMapping
impl Clone for FunctionMapping
Source§fn clone(&self) -> FunctionMapping
fn clone(&self) -> FunctionMapping
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 Debug for FunctionMapping
impl Debug for FunctionMapping
Source§impl<'de> Deserialize<'de> for FunctionMapping
impl<'de> Deserialize<'de> for FunctionMapping
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FunctionMapping
impl RefUnwindSafe for FunctionMapping
impl Send for FunctionMapping
impl Sync for FunctionMapping
impl Unpin for FunctionMapping
impl UnwindSafe for FunctionMapping
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