Trait CFPropertyListSubClass

Source
pub trait CFPropertyListSubClass: TCFType {
    // Provided methods
    fn to_CFPropertyList(&self) -> CFPropertyList { ... }
    fn into_CFPropertyList(self) -> CFPropertyList
       where Self: Sized { ... }
}
Expand description

Trait for all subclasses of CFPropertyList.

Provided Methods§

Source

fn to_CFPropertyList(&self) -> CFPropertyList

Create an instance of the superclass type CFPropertyList for this instance.

Source

fn into_CFPropertyList(self) -> CFPropertyList
where Self: Sized,

Equal to to_CFPropertyList, but consumes self and avoids changing the reference count.

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§