windows::ApplicationModel::Contacts

Trait IContactFieldFactory_Impl

pub trait IContactFieldFactory_Impl: IUnknownImpl {
    // Required methods
    fn CreateField_Default(
        &self,
        value: &HSTRING,
        type: ContactFieldType,
    ) -> Result<ContactField>;
    fn CreateField_Category(
        &self,
        value: &HSTRING,
        type: ContactFieldType,
        category: ContactFieldCategory,
    ) -> Result<ContactField>;
    fn CreateField_Custom(
        &self,
        name: &HSTRING,
        value: &HSTRING,
        type: ContactFieldType,
        category: ContactFieldCategory,
    ) -> Result<ContactField>;
}

Required Methods§

fn CreateField_Default( &self, value: &HSTRING, type: ContactFieldType, ) -> Result<ContactField>

fn CreateField_Category( &self, value: &HSTRING, type: ContactFieldType, category: ContactFieldCategory, ) -> Result<ContactField>

fn CreateField_Custom( &self, name: &HSTRING, value: &HSTRING, type: ContactFieldType, category: ContactFieldCategory, ) -> Result<ContactField>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§