#[repr(u32)]pub enum ov_preprocess_resize_algorithm_e {
RESIZE_LINEAR = 0,
RESIZE_CUBIC = 1,
RESIZE_NEAREST = 2,
}Expand description
@enum ov_preprocess_resize_algorithm_e @ingroup ov_prepostprocess_c_api @brief This enum contains codes for all preprocess resize algorithm.
Variants§
RESIZE_LINEAR = 0
!< linear algorithm
RESIZE_CUBIC = 1
!< cubic algorithm
RESIZE_NEAREST = 2
!< nearest algorithm
Trait Implementations§
Source§impl Clone for ov_preprocess_resize_algorithm_e
impl Clone for ov_preprocess_resize_algorithm_e
Source§fn clone(&self) -> ov_preprocess_resize_algorithm_e
fn clone(&self) -> ov_preprocess_resize_algorithm_e
Returns a duplicate 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 PartialEq for ov_preprocess_resize_algorithm_e
impl PartialEq for ov_preprocess_resize_algorithm_e
Source§fn eq(&self, other: &ov_preprocess_resize_algorithm_e) -> bool
fn eq(&self, other: &ov_preprocess_resize_algorithm_e) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ov_preprocess_resize_algorithm_e
impl Eq for ov_preprocess_resize_algorithm_e
impl StructuralPartialEq for ov_preprocess_resize_algorithm_e
Auto Trait Implementations§
impl Freeze for ov_preprocess_resize_algorithm_e
impl RefUnwindSafe for ov_preprocess_resize_algorithm_e
impl Send for ov_preprocess_resize_algorithm_e
impl Sync for ov_preprocess_resize_algorithm_e
impl Unpin for ov_preprocess_resize_algorithm_e
impl UnwindSafe for ov_preprocess_resize_algorithm_e
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