[][src]Struct mupdf::Pixmap

pub struct Pixmap { /* fields omitted */ }

Methods

impl Pixmap[src]

pub fn new(cs: &ColorSpace, x: i32, y: i32, w: i32, h: i32, alpha: bool) -> Self[src]

pub fn new_with_rect(cs: &ColorSpace, rect: Rect, alpha: bool) -> Self[src]

pub fn new_with_w_h(cs: &ColorSpace, w: i32, h: i32, alpha: bool) -> Self[src]

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

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

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

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

pub fn stride(&self) -> isize[src]

pub fn number_of_components(&self) -> usize[src]

pub fn alpha(&self) -> bool[src]

pub fn color_space(&self) -> ColorSpace[src]

pub fn clear(&mut self)[src]

Trait Implementations

impl Debug for Pixmap[src]

impl Drop for Pixmap[src]

Auto Trait Implementations

impl RefUnwindSafe for Pixmap

impl !Send for Pixmap

impl !Sync for Pixmap

impl Unpin for Pixmap

impl UnwindSafe for Pixmap

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, 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.