Type Alias CobiaCollection

Source
pub type CobiaCollection<Element> = CobiaCollectionBase<Element>;
Expand description

CobiaCollection wraps an ICobiaCollection interface

This interface is returned by API functions that return multiple objects.

#Example

use cobia;
use cobia::prelude::*;
cobia::cape_open_initialize().unwrap();
let library_enumerator = cobia::CapeTypeLibraries::new().unwrap();
let libraries = library_enumerator.libraries().unwrap(); //this is a CobiaCollection smart pointer
assert!(libraries.size() > 0); //normally the CAPE-OPEN type libraries are registered
cobia::cape_open_cleanup();

Aliased Type§

pub struct CobiaCollection<Element> {
    interface: *mut ICobiaCollection,
    element_type: PhantomData<Element>,
}

Fields§

§interface: *mut ICobiaCollection§element_type: PhantomData<Element>