[−][src]Struct mupdf::Pixmap
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,