#[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
impl HFeatureFlags
pub fn shape(&self) -> c_uint
pub fn set_shape(&mut self, val: c_uint)
pub unsafe fn shape_raw(this: *const Self) -> c_uint
pub unsafe fn set_shape_raw(this: *mut Self, val: c_uint)
pub fn is_convex(&self) -> c_uint
pub fn set_is_convex(&mut self, val: c_uint)
pub unsafe fn is_convex_raw(this: *const Self) -> c_uint
pub unsafe fn set_is_convex_raw(this: *mut Self, val: c_uint)
pub fn is_filled(&self) -> c_uint
pub fn set_is_filled(&mut self, val: c_uint)
pub unsafe fn is_filled_raw(this: *const Self) -> c_uint
pub unsafe fn set_is_filled_raw(this: *mut Self, val: c_uint)
pub fn is_connected4(&self) -> c_uint
pub fn set_is_connected4(&mut self, val: c_uint)
pub unsafe fn is_connected4_raw(this: *const Self) -> c_uint
pub unsafe fn set_is_connected4_raw(this: *mut Self, val: c_uint)
pub fn is_connected8(&self) -> c_uint
pub fn set_is_connected8(&mut self, val: c_uint)
pub unsafe fn is_connected8_raw(this: *const Self) -> c_uint
pub unsafe fn set_is_connected8_raw(this: *mut Self, val: c_uint)
pub fn is_thin(&self) -> c_uint
pub fn set_is_thin(&mut self, val: c_uint)
pub unsafe fn is_thin_raw(this: *const Self) -> c_uint
pub unsafe fn set_is_thin_raw(this: *mut Self, val: c_uint)
pub fn circularity(&self) -> c_uint
pub fn set_circularity(&mut self, val: c_uint)
pub unsafe fn circularity_raw(this: *const Self) -> c_uint
pub unsafe fn set_circularity_raw(this: *mut Self, val: c_uint)
pub fn compactness(&self) -> c_uint
pub fn set_compactness(&mut self, val: c_uint)
pub unsafe fn compactness_raw(this: *const Self) -> c_uint
pub unsafe fn set_compactness_raw(this: *mut Self, val: c_uint)
pub fn contlength(&self) -> c_uint
pub fn set_contlength(&mut self, val: c_uint)
pub unsafe fn contlength_raw(this: *const Self) -> c_uint
pub unsafe fn set_contlength_raw(this: *mut Self, val: c_uint)
pub fn convexity(&self) -> c_uint
pub fn set_convexity(&mut self, val: c_uint)
pub unsafe fn convexity_raw(this: *const Self) -> c_uint
pub unsafe fn set_convexity_raw(this: *mut Self, val: c_uint)
pub fn phi(&self) -> c_uint
pub fn set_phi(&mut self, val: c_uint)
pub unsafe fn phi_raw(this: *const Self) -> c_uint
pub unsafe fn set_phi_raw(this: *mut Self, val: c_uint)
pub fn elliptic_axis(&self) -> c_uint
pub fn set_elliptic_axis(&mut self, val: c_uint)
pub unsafe fn elliptic_axis_raw(this: *const Self) -> c_uint
pub unsafe fn set_elliptic_axis_raw(this: *mut Self, val: c_uint)
pub fn elliptic_shape(&self) -> c_uint
pub fn set_elliptic_shape(&mut self, val: c_uint)
pub unsafe fn elliptic_shape_raw(this: *const Self) -> c_uint
pub unsafe fn set_elliptic_shape_raw(this: *mut Self, val: c_uint)
pub fn excentricity(&self) -> c_uint
pub fn set_excentricity(&mut self, val: c_uint)
pub unsafe fn excentricity_raw(this: *const Self) -> c_uint
pub unsafe fn set_excentricity_raw(this: *mut Self, val: c_uint)
pub fn moments(&self) -> c_uint
pub fn set_moments(&mut self, val: c_uint)
pub unsafe fn moments_raw(this: *const Self) -> c_uint
pub unsafe fn set_moments_raw(this: *mut Self, val: c_uint)
pub fn center_area(&self) -> c_uint
pub fn set_center_area(&mut self, val: c_uint)
pub unsafe fn center_area_raw(this: *const Self) -> c_uint
pub unsafe fn set_center_area_raw(this: *mut Self, val: c_uint)
pub fn smallest_rectangle1(&self) -> c_uint
pub fn set_smallest_rectangle1(&mut self, val: c_uint)
pub unsafe fn smallest_rectangle1_raw(this: *const Self) -> c_uint
pub unsafe fn set_smallest_rectangle1_raw(this: *mut Self, val: c_uint)
pub fn smallest_rectangle2(&self) -> c_uint
pub fn set_smallest_rectangle2(&mut self, val: c_uint)
pub unsafe fn smallest_rectangle2_raw(this: *const Self) -> c_uint
pub unsafe fn set_smallest_rectangle2_raw(this: *mut Self, val: c_uint)
pub fn smallest_circle(&self) -> c_uint
pub fn set_smallest_circle(&mut self, val: c_uint)
pub unsafe fn smallest_circle_raw(this: *const Self) -> c_uint
pub unsafe fn set_smallest_circle_raw(this: *mut Self, val: c_uint)
pub fn min_max_chord(&self) -> c_uint
pub fn set_min_max_chord(&mut self, val: c_uint)
pub unsafe fn min_max_chord_raw(this: *const Self) -> c_uint
pub unsafe fn set_min_max_chord_raw(this: *mut Self, val: c_uint)
pub fn min_max_chord_gap(&self) -> c_uint
pub fn set_min_max_chord_gap(&mut self, val: c_uint)
pub unsafe fn min_max_chord_gap_raw(this: *const Self) -> c_uint
pub unsafe fn set_min_max_chord_gap_raw(this: *mut Self, val: c_uint)
pub fn rectangularity(&self) -> c_uint
pub fn set_rectangularity(&mut self, val: c_uint)
pub unsafe fn rectangularity_raw(this: *const Self) -> c_uint
pub unsafe fn set_rectangularity_raw(this: *mut Self, val: c_uint)
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
impl Clone for HFeatureFlags
Source§fn clone(&self) -> HFeatureFlags
fn clone(&self) -> HFeatureFlags
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HFeatureFlags
impl Debug for HFeatureFlags
impl Copy for HFeatureFlags
Auto Trait Implementations§
impl Freeze for HFeatureFlags
impl RefUnwindSafe for HFeatureFlags
impl Send for HFeatureFlags
impl Sync for HFeatureFlags
impl Unpin for HFeatureFlags
impl UnwindSafe for HFeatureFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more