Struct HRegFeature

Source
#[repr(C)]
pub struct HRegFeature {
Show 44 fields pub def: HRegFeature__bindgen_ty_1, pub shape: u8, pub is_convex: bool, pub is_filled: bool, pub is_connected4: bool, pub is_connected8: bool, pub is_thin: bool, pub circularity: f64, pub compactness: f64, pub contlength: f64, pub convexity: f64, pub phi: f64, pub ra: f64, pub rb: f64, pub ra_: f64, pub rb_: f64, pub anisometry: f64, pub bulkiness: f64, pub structure_factor: f64, pub m11: f64, pub m20: f64, pub m02: f64, pub ia: f64, pub ib: f64, pub row: f64, pub col: f64, pub area: HIMGCNT, pub row1: HIMGCOOR, pub col1: HIMGCOOR, pub row2: HIMGCOOR, pub col2: HIMGCOOR, pub row_rect: f64, pub col_rect: f64, pub phi_rect: f64, pub length1: f64, pub length2: f64, pub row_circle: f64, pub col_circle: f64, pub radius: f64, pub min_chord: HIMGCOOR, pub max_chord: HIMGCOOR, pub min_chord_gap: HIMGCOOR, pub max_chord_gap: HIMGCOOR, pub rectangularity: f64,
}

Fields§

§def: HRegFeature__bindgen_ty_1§shape: u8§is_convex: bool§is_filled: bool§is_connected4: bool§is_connected8: bool§is_thin: bool§circularity: f64§compactness: f64§contlength: f64§convexity: f64§phi: f64§ra: f64§rb: f64§ra_: f64§rb_: f64§anisometry: f64§bulkiness: f64§structure_factor: f64§m11: f64§m20: f64§m02: f64§ia: f64§ib: f64§row: f64§col: f64§area: HIMGCNT§row1: HIMGCOOR§col1: HIMGCOOR§row2: HIMGCOOR§col2: HIMGCOOR§row_rect: f64§col_rect: f64§phi_rect: f64§length1: f64§length2: f64§row_circle: f64§col_circle: f64§radius: f64§min_chord: HIMGCOOR§max_chord: HIMGCOOR§min_chord_gap: HIMGCOOR§max_chord_gap: HIMGCOOR§rectangularity: f64

Trait Implementations§

Source§

impl Clone for HRegFeature

Source§

fn clone(&self) -> HRegFeature

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 Copy for HRegFeature

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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,

Source§

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>,

Source§

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>,

Source§

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.