Struct leptonica_plumbing::Pix[][src]

pub struct Pix(_);

Wrapper around Leptonica’s Pix structure

Implementations

impl Pix[src]

pub fn read(filename: &CStr) -> Result<Self, PixReadError>[src]

Wrapper for pixRead

Read an image from a filename

pub fn read_mem(img: &[u8]) -> Result<Self, PixReadMemError>[src]

Wrapper for pixReadMem

Read an image from memory

Trait Implementations

impl AsRef<*mut Pix> for Pix[src]

impl AsRef<Pix> for Pix[src]

impl Debug for Pix[src]

impl Drop for Pix[src]

Auto Trait Implementations

impl RefUnwindSafe for Pix

impl !Send for Pix

impl !Sync for Pix

impl Unpin for Pix

impl UnwindSafe for Pix

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.