[][src]Struct cairo::MappedImageSurface

pub struct MappedImageSurface { /* fields omitted */ }

Methods from Deref<Target = ImageSurface>

pub fn with_data<F: FnOnce(&[u8])>(&self, f: F) -> Result<(), BorrowError>[src]

pub fn get_format(&self) -> Format[src]

pub fn get_height(&self) -> i32[src]

pub fn get_stride(&self) -> i32[src]

pub fn get_width(&self) -> i32[src]

pub fn write_to_png<W: Write>(&self, stream: &mut W) -> Result<(), IoError>[src]

Trait Implementations

impl Debug for MappedImageSurface[src]

impl Deref for MappedImageSurface[src]

type Target = ImageSurface

The resulting type after dereferencing.

impl Display for MappedImageSurface[src]

impl Drop for MappedImageSurface[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.