Enum uniffi_bindgen::interface::UniffiTrait
source · pub enum UniffiTrait {
Debug {
fmt: Method,
},
Display {
fmt: Method,
},
Eq {
eq: Method,
ne: Method,
},
Hash {
hash: Method,
},
}
Expand description
The list of traits we support generating helper methods for.
Variants§
Implementations§
source§impl UniffiTrait
impl UniffiTrait
pub fn iter_types(&self) -> TypeIterator<'_>
pub fn derive_ffi_func(&mut self) -> Result<()>
Trait Implementations§
source§impl Clone for UniffiTrait
impl Clone for UniffiTrait
source§fn clone(&self) -> UniffiTrait
fn clone(&self) -> UniffiTrait
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 Debug for UniffiTrait
impl Debug for UniffiTrait
Auto Trait Implementations§
impl RefUnwindSafe for UniffiTrait
impl Send for UniffiTrait
impl Sync for UniffiTrait
impl Unpin for UniffiTrait
impl UnwindSafe for UniffiTrait
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