Struct HFeatureFlags

Source
#[repr(C, align(4))]
pub struct HFeatureFlags { pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3]>, pub __bindgen_padding_0: u8, }

Fields§

§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 3]>§__bindgen_padding_0: u8

Implementations§

Source§

impl HFeatureFlags

Source

pub fn shape(&self) -> c_uint

Source

pub fn set_shape(&mut self, val: c_uint)

Source

pub unsafe fn shape_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_shape_raw(this: *mut Self, val: c_uint)

Source

pub fn is_convex(&self) -> c_uint

Source

pub fn set_is_convex(&mut self, val: c_uint)

Source

pub unsafe fn is_convex_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_is_convex_raw(this: *mut Self, val: c_uint)

Source

pub fn is_filled(&self) -> c_uint

Source

pub fn set_is_filled(&mut self, val: c_uint)

Source

pub unsafe fn is_filled_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_is_filled_raw(this: *mut Self, val: c_uint)

Source

pub fn is_connected4(&self) -> c_uint

Source

pub fn set_is_connected4(&mut self, val: c_uint)

Source

pub unsafe fn is_connected4_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_is_connected4_raw(this: *mut Self, val: c_uint)

Source

pub fn is_connected8(&self) -> c_uint

Source

pub fn set_is_connected8(&mut self, val: c_uint)

Source

pub unsafe fn is_connected8_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_is_connected8_raw(this: *mut Self, val: c_uint)

Source

pub fn is_thin(&self) -> c_uint

Source

pub fn set_is_thin(&mut self, val: c_uint)

Source

pub unsafe fn is_thin_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_is_thin_raw(this: *mut Self, val: c_uint)

Source

pub fn circularity(&self) -> c_uint

Source

pub fn set_circularity(&mut self, val: c_uint)

Source

pub unsafe fn circularity_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_circularity_raw(this: *mut Self, val: c_uint)

Source

pub fn compactness(&self) -> c_uint

Source

pub fn set_compactness(&mut self, val: c_uint)

Source

pub unsafe fn compactness_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_compactness_raw(this: *mut Self, val: c_uint)

Source

pub fn contlength(&self) -> c_uint

Source

pub fn set_contlength(&mut self, val: c_uint)

Source

pub unsafe fn contlength_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_contlength_raw(this: *mut Self, val: c_uint)

Source

pub fn convexity(&self) -> c_uint

Source

pub fn set_convexity(&mut self, val: c_uint)

Source

pub unsafe fn convexity_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_convexity_raw(this: *mut Self, val: c_uint)

Source

pub fn phi(&self) -> c_uint

Source

pub fn set_phi(&mut self, val: c_uint)

Source

pub unsafe fn phi_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_phi_raw(this: *mut Self, val: c_uint)

Source

pub fn elliptic_axis(&self) -> c_uint

Source

pub fn set_elliptic_axis(&mut self, val: c_uint)

Source

pub unsafe fn elliptic_axis_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_elliptic_axis_raw(this: *mut Self, val: c_uint)

Source

pub fn elliptic_shape(&self) -> c_uint

Source

pub fn set_elliptic_shape(&mut self, val: c_uint)

Source

pub unsafe fn elliptic_shape_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_elliptic_shape_raw(this: *mut Self, val: c_uint)

Source

pub fn excentricity(&self) -> c_uint

Source

pub fn set_excentricity(&mut self, val: c_uint)

Source

pub unsafe fn excentricity_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_excentricity_raw(this: *mut Self, val: c_uint)

Source

pub fn moments(&self) -> c_uint

Source

pub fn set_moments(&mut self, val: c_uint)

Source

pub unsafe fn moments_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_moments_raw(this: *mut Self, val: c_uint)

Source

pub fn center_area(&self) -> c_uint

Source

pub fn set_center_area(&mut self, val: c_uint)

Source

pub unsafe fn center_area_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_center_area_raw(this: *mut Self, val: c_uint)

Source

pub fn smallest_rectangle1(&self) -> c_uint

Source

pub fn set_smallest_rectangle1(&mut self, val: c_uint)

Source

pub unsafe fn smallest_rectangle1_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_smallest_rectangle1_raw(this: *mut Self, val: c_uint)

Source

pub fn smallest_rectangle2(&self) -> c_uint

Source

pub fn set_smallest_rectangle2(&mut self, val: c_uint)

Source

pub unsafe fn smallest_rectangle2_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_smallest_rectangle2_raw(this: *mut Self, val: c_uint)

Source

pub fn smallest_circle(&self) -> c_uint

Source

pub fn set_smallest_circle(&mut self, val: c_uint)

Source

pub unsafe fn smallest_circle_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_smallest_circle_raw(this: *mut Self, val: c_uint)

Source

pub fn min_max_chord(&self) -> c_uint

Source

pub fn set_min_max_chord(&mut self, val: c_uint)

Source

pub unsafe fn min_max_chord_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_min_max_chord_raw(this: *mut Self, val: c_uint)

Source

pub fn min_max_chord_gap(&self) -> c_uint

Source

pub fn set_min_max_chord_gap(&mut self, val: c_uint)

Source

pub unsafe fn min_max_chord_gap_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_min_max_chord_gap_raw(this: *mut Self, val: c_uint)

Source

pub fn rectangularity(&self) -> c_uint

Source

pub fn set_rectangularity(&mut self, val: c_uint)

Source

pub unsafe fn rectangularity_raw(this: *const Self) -> c_uint

Source

pub unsafe fn set_rectangularity_raw(this: *mut Self, val: c_uint)

Source

pub fn new_bitfield_1( shape: c_uint, is_convex: c_uint, is_filled: c_uint, is_connected4: c_uint, is_connected8: c_uint, is_thin: c_uint, circularity: c_uint, compactness: c_uint, contlength: c_uint, convexity: c_uint, phi: c_uint, elliptic_axis: c_uint, elliptic_shape: c_uint, excentricity: c_uint, moments: c_uint, center_area: c_uint, smallest_rectangle1: c_uint, smallest_rectangle2: c_uint, smallest_circle: c_uint, min_max_chord: c_uint, min_max_chord_gap: c_uint, rectangularity: c_uint, ) -> __BindgenBitfieldUnit<[u8; 3]>

Trait Implementations§

Source§

impl Clone for HFeatureFlags

Source§

fn clone(&self) -> HFeatureFlags

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 HFeatureFlags

Source§

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

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

impl Copy for HFeatureFlags

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.