Struct uniffi_macros::export::attributes::DefaultMap
source · pub struct DefaultMap {
map: HashMap<Ident, DefaultValue>,
}
Expand description
Maps arguments to defaults for functions
Fields§
§map: HashMap<Ident, DefaultValue>
Implementations§
Trait Implementations§
source§impl Clone for DefaultMap
impl Clone for DefaultMap
source§fn clone(&self) -> DefaultMap
fn clone(&self) -> DefaultMap
Returns a copy 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 Default for DefaultMap
impl Default for DefaultMap
source§fn default() -> DefaultMap
fn default() -> DefaultMap
Returns the “default value” for a type. Read more
source§impl Parse for DefaultMap
impl Parse for DefaultMap
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl RefUnwindSafe for DefaultMap
impl !Send for DefaultMap
impl !Sync for DefaultMap
impl Unpin for DefaultMap
impl UnwindSafe for DefaultMap
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