#[repr(C, packed(1))]pub struct OBMGCFilterConfig {
pub width: u32,
pub height: u32,
pub max_width_left: c_int,
pub max_width_right: c_int,
pub max_radius: c_int,
pub margin_x_th: c_int,
pub margin_y_th: c_int,
pub limit_x_th: c_int,
pub limit_y_th: c_int,
}Expand description
@brief Configuration for mgc filter
Fields§
§width: u32§height: u32§max_width_left: c_int§max_width_right: c_int§max_radius: c_int§margin_x_th: c_int§margin_y_th: c_int§limit_x_th: c_int§limit_y_th: c_intTrait Implementations§
Source§impl Clone for OBMGCFilterConfig
impl Clone for OBMGCFilterConfig
Source§fn clone(&self) -> OBMGCFilterConfig
fn clone(&self) -> OBMGCFilterConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OBMGCFilterConfig
Auto Trait Implementations§
impl Freeze for OBMGCFilterConfig
impl RefUnwindSafe for OBMGCFilterConfig
impl Send for OBMGCFilterConfig
impl Sync for OBMGCFilterConfig
impl Unpin for OBMGCFilterConfig
impl UnsafeUnpin for OBMGCFilterConfig
impl UnwindSafe for OBMGCFilterConfig
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