Struct uniffi_macros::export::attributes::ExportedImplFnArgs
source · pub struct ExportedImplFnArgs {
pub(crate) name: Option<String>,
pub(crate) defaults: DefaultMap,
}
Expand description
Arguments for function inside an impl block
This stores the parsed arguments for uniffi::constructor
and uniffi::method
Fields§
§name: Option<String>
§defaults: DefaultMap
Trait Implementations§
source§impl Clone for ExportedImplFnArgs
impl Clone for ExportedImplFnArgs
source§fn clone(&self) -> ExportedImplFnArgs
fn clone(&self) -> ExportedImplFnArgs
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 ExportedImplFnArgs
impl Default for ExportedImplFnArgs
source§fn default() -> ExportedImplFnArgs
fn default() -> ExportedImplFnArgs
Returns the “default value” for a type. Read more
source§impl Parse for ExportedImplFnArgs
impl Parse for ExportedImplFnArgs
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl RefUnwindSafe for ExportedImplFnArgs
impl !Send for ExportedImplFnArgs
impl !Sync for ExportedImplFnArgs
impl Unpin for ExportedImplFnArgs
impl UnwindSafe for ExportedImplFnArgs
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