#[repr(C)]pub enum RulesOption {
RO_STRICT = 0,
RO_IGNORE_BORDERS = 1,
}
Expand description
Specifies the degree of rules validation. @details The enum specifies the degree of rules validation. This can be used, for example, to choose a proper way of input arguments validation.
Variants§
RO_STRICT = 0
Validate each rule in a proper way.
RO_IGNORE_BORDERS = 1
Skip validations of image borders.
Trait Implementations§
Source§impl Clone for RulesOption
impl Clone for RulesOption
Source§fn clone(&self) -> RulesOption
fn clone(&self) -> RulesOption
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 RulesOption
impl Debug for RulesOption
Source§impl From<RulesOption> for i32
impl From<RulesOption> for i32
Source§fn from(v: RulesOption) -> Self
fn from(v: RulesOption) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RulesOption
impl PartialEq for RulesOption
Source§impl TryFrom<i32> for RulesOption
impl TryFrom<i32> for RulesOption
impl Copy for RulesOption
impl Eq for RulesOption
impl StructuralPartialEq for RulesOption
Auto Trait Implementations§
impl Freeze for RulesOption
impl RefUnwindSafe for RulesOption
impl Send for RulesOption
impl Sync for RulesOption
impl Unpin for RulesOption
impl UnwindSafe for RulesOption
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