Struct leptonica_sys::L_Recog

source ·
#[repr(C)]
pub struct L_Recog {
Show 52 fields pub scalew: l_int32, pub scaleh: l_int32, pub linew: l_int32, pub templ_use: l_int32, pub maxarraysize: l_int32, pub setsize: l_int32, pub threshold: l_int32, pub maxyshift: l_int32, pub charset_type: l_int32, pub charset_size: l_int32, pub min_nopad: l_int32, pub num_samples: l_int32, pub minwidth_u: l_int32, pub maxwidth_u: l_int32, pub minheight_u: l_int32, pub maxheight_u: l_int32, pub minwidth: l_int32, pub maxwidth: l_int32, pub ave_done: l_int32, pub train_done: l_int32, pub max_wh_ratio: l_float32, pub max_ht_ratio: l_float32, pub min_splitw: l_int32, pub max_splith: l_int32, pub sa_text: *mut Sarray, pub dna_tochar: *mut L_Dna, pub centtab: *mut l_int32, pub sumtab: *mut l_int32, pub pixaa_u: *mut Pixaa, pub ptaa_u: *mut Ptaa, pub naasum_u: *mut Numaa, pub pixaa: *mut Pixaa, pub ptaa: *mut Ptaa, pub naasum: *mut Numaa, pub pixa_u: *mut Pixa, pub pta_u: *mut Pta, pub nasum_u: *mut Numa, pub pixa: *mut Pixa, pub pta: *mut Pta, pub nasum: *mut Numa, pub pixa_tr: *mut Pixa, pub pixadb_ave: *mut Pixa, pub pixa_id: *mut Pixa, pub pixdb_ave: *mut Pix, pub pixdb_range: *mut Pix, pub pixadb_boot: *mut Pixa, pub pixadb_split: *mut Pixa, pub bmf: *mut L_Bmf, pub bmf_size: l_int32, pub did: *mut L_Rdid, pub rch: *mut L_Rch, pub rcha: *mut L_Rcha,
}

Fields§

§scalew: l_int32§scaleh: l_int32§linew: l_int32§templ_use: l_int32§maxarraysize: l_int32§setsize: l_int32§threshold: l_int32§maxyshift: l_int32§charset_type: l_int32§charset_size: l_int32§min_nopad: l_int32§num_samples: l_int32§minwidth_u: l_int32§maxwidth_u: l_int32§minheight_u: l_int32§maxheight_u: l_int32§minwidth: l_int32§maxwidth: l_int32§ave_done: l_int32§train_done: l_int32§max_wh_ratio: l_float32§max_ht_ratio: l_float32§min_splitw: l_int32§max_splith: l_int32§sa_text: *mut Sarray§dna_tochar: *mut L_Dna§centtab: *mut l_int32§sumtab: *mut l_int32§pixaa_u: *mut Pixaa§ptaa_u: *mut Ptaa§naasum_u: *mut Numaa§pixaa: *mut Pixaa§ptaa: *mut Ptaa§naasum: *mut Numaa§pixa_u: *mut Pixa§pta_u: *mut Pta§nasum_u: *mut Numa§pixa: *mut Pixa§pta: *mut Pta§nasum: *mut Numa§pixa_tr: *mut Pixa§pixadb_ave: *mut Pixa§pixa_id: *mut Pixa§pixdb_ave: *mut Pix§pixdb_range: *mut Pix§pixadb_boot: *mut Pixa§pixadb_split: *mut Pixa§bmf: *mut L_Bmf§bmf_size: l_int32§did: *mut L_Rdid§rch: *mut L_Rch§rcha: *mut L_Rcha

Trait Implementations§

source§

impl Clone for L_Recog

source§

fn clone(&self) -> L_Recog

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for L_Recog

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for L_Recog

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.