[][src]Struct pbnify::PbnConfig

pub struct PbnConfig {
    pub x_offset: u32,
    pub y_offset: u32,
    pub max_length: usize,
}

Fields

x_offset: u32y_offset: u32max_length: usize

Methods

impl PbnConfig[src]

pub fn new() -> PbnConfig[src]

pub fn x_offset(self, x_offset: u32) -> PbnConfig[src]

pub fn y_offset(self, y_offset: u32) -> PbnConfig[src]

pub fn max_length(self, max_length: usize) -> PbnConfig[src]

pub fn run<I: GenericImageView>(&self, image: &I) -> Vec<String>[src]

Trait Implementations

impl Default for PbnConfig[src]

Auto Trait Implementations

impl Send for PbnConfig

impl Sync for PbnConfig

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.