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§
Sourcefn to_CFPropertyList(&self) -> CFPropertyList
fn to_CFPropertyList(&self) -> CFPropertyList
Create an instance of the superclass type CFPropertyList
for this instance.
Sourcefn into_CFPropertyList(self) -> CFPropertyListwhere
Self: Sized,
fn into_CFPropertyList(self) -> CFPropertyListwhere
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.