[][src]Struct mupdf::Buffer

pub struct Buffer { /* fields omitted */ }

Implementations

impl Buffer[src]

pub fn new() -> Self[src]

pub fn from_str(str: &str) -> Result<Self, Error>[src]

pub fn from_base64(str: &str) -> Result<Self, Error>[src]

pub fn with_capacity(cap: usize) -> Self[src]

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

Trait Implementations

impl Debug for Buffer[src]

impl Drop for Buffer[src]

impl Read for Buffer[src]

impl TryFrom<&'_ [u8]> for Buffer[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<&'_ str> for Buffer[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<String> for Buffer[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<Vec<u8, Global>> for Buffer[src]

type Error = Error

The type returned in the event of a conversion error.

impl Write for Buffer[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, 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.