Struct core_graphics::data_provider::CGDataProviderRef
[−]
pub struct CGDataProviderRef(_);
Methods
impl CGDataProviderRef
[src]
pub fn copy_data(&self) -> CFData
[src]
Creates a copy of the data from the underlying CFDataProviderRef
.
Trait Implementations
impl ToOwned for CGDataProviderRef
type Owned = CGDataProvider
fn to_owned(&self) -> CGDataProvider
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)
[src]
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Borrow<CGDataProviderRef> for CGDataProvider
fn borrow(&self) -> &CGDataProviderRef
Immutably borrows from an owned value. Read more
impl AsRef<CGDataProviderRef> for CGDataProvider
fn as_ref(&self) -> &CGDataProviderRef
Performs the conversion.