windows::ApplicationModel::Contacts

Trait IContactLocationFieldFactory_Impl

pub trait IContactLocationFieldFactory_Impl: IUnknownImpl {
    // Required methods
    fn CreateLocation_Default(
        &self,
        unstructuredAddress: &HSTRING,
    ) -> Result<ContactLocationField>;
    fn CreateLocation_Category(
        &self,
        unstructuredAddress: &HSTRING,
        category: ContactFieldCategory,
    ) -> Result<ContactLocationField>;
    fn CreateLocation_All(
        &self,
        unstructuredAddress: &HSTRING,
        category: ContactFieldCategory,
        street: &HSTRING,
        city: &HSTRING,
        region: &HSTRING,
        country: &HSTRING,
        postalCode: &HSTRING,
    ) -> Result<ContactLocationField>;
}

Required Methods§

fn CreateLocation_Default( &self, unstructuredAddress: &HSTRING, ) -> Result<ContactLocationField>

fn CreateLocation_Category( &self, unstructuredAddress: &HSTRING, category: ContactFieldCategory, ) -> Result<ContactLocationField>

fn CreateLocation_All( &self, unstructuredAddress: &HSTRING, category: ContactFieldCategory, street: &HSTRING, city: &HSTRING, region: &HSTRING, country: &HSTRING, postalCode: &HSTRING, ) -> Result<ContactLocationField>

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§