pub struct FunctionMapping {
pub common_name: String,
pub platform_mappings: HashMap<String, String>,
pub description: Option<String>,
}Expand description
Function mapping configuration.
Defines the mapping from generic function names to platform-specific function names.
Fields§
§common_name: StringGeneric function name.
platform_mappings: HashMap<String, String>Platform-specific mappings.
description: Option<String>Function description.
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 UnsafeUnpin 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