Struct core_graphics::data_provider::CGDataProvider []

pub struct CGDataProvider(_);

Methods

impl CGDataProvider
[src]

[src]

[src]

Creates a data provider from the given reference-counted buffer.

The CGDataProvider object takes ownership of the reference. Once the data provider is destroyed, the reference count of the buffer is automatically decremented.

Methods from Deref<Target = CGDataProviderRef>

[src]

Creates a copy of the data from the underlying CFDataProviderRef.

Trait Implementations

impl Drop for CGDataProvider

Executes the destructor for this type. Read more

impl Clone for CGDataProvider

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Deref for CGDataProvider

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for CGDataProvider

Mutably dereferences the value.

impl Borrow<CGDataProviderRef> for CGDataProvider

Immutably borrows from an owned value. Read more

impl AsRef<CGDataProviderRef> for CGDataProvider

Performs the conversion.

Auto Trait Implementations

impl !Send for CGDataProvider

impl !Sync for CGDataProvider