Struct leptonica_plumbing::Box[][src]

pub struct Box(_);

Wrapper around Leptonica’s Box structure

Implementations

impl Box[src]

pub fn create_valid(
    x: l_int32,
    y: l_int32,
    w: l_int32,
    h: l_int32
) -> Result<Self, BoxCreateValidError>
[src]

Wrapper for boxCreateValid

Input: x, y, w, h Return: box

Trait Implementations

impl AsRef<Box> for Box[src]

impl Debug for Box[src]

impl Drop for Box[src]

impl PartialEq<Box> for Box[src]

impl StructuralPartialEq for Box[src]

Auto Trait Implementations

impl RefUnwindSafe for Box

impl !Send for Box

impl !Sync for Box

impl Unpin for Box

impl UnwindSafe for Box

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.