Enum uniffi_bindgen::interface::ObjectImpl  
pub enum ObjectImpl {
    Struct,
    Trait,
    CallbackTrait,
}Variants§
Implementations§
§impl ObjectImpl
 
impl ObjectImpl
pub fn rust_name_for(&self, name: &str) -> String
pub fn rust_name_for(&self, name: &str) -> String
Return the fully qualified name which should be used by Rust code for
an object with the given name.
Includes r#, traits get a leading dyn. If we ever supported associated types, then
this would also include them.
pub fn is_trait_interface(&self) -> bool
pub fn has_callback_interface(&self) -> bool
Trait Implementations§
§impl Clone for ObjectImpl
 
impl Clone for ObjectImpl
§fn clone(&self) -> ObjectImpl
 
fn clone(&self) -> ObjectImpl
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 more§impl Debug for ObjectImpl
 
impl Debug for ObjectImpl
§impl Ord for ObjectImpl
 
impl Ord for ObjectImpl
§impl PartialEq<ObjectImpl> for ObjectImpl
 
impl PartialEq<ObjectImpl> for ObjectImpl
§fn eq(&self, other: &ObjectImpl) -> bool
 
fn eq(&self, other: &ObjectImpl) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.§impl PartialOrd<ObjectImpl> for ObjectImpl
 
impl PartialOrd<ObjectImpl> for ObjectImpl
§fn partial_cmp(&self, other: &ObjectImpl) -> Option<Ordering>
 
fn partial_cmp(&self, other: &ObjectImpl) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moreimpl Copy for ObjectImpl
impl Eq for ObjectImpl
impl StructuralEq for ObjectImpl
impl StructuralPartialEq for ObjectImpl
Auto Trait Implementations§
impl RefUnwindSafe for ObjectImpl
impl Send for ObjectImpl
impl Sync for ObjectImpl
impl Unpin for ObjectImpl
impl UnwindSafe for ObjectImpl
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