Enum opencv::core::BorderTypes
source · #[repr(C)]pub enum BorderTypes {
BORDER_CONSTANT,
BORDER_REPLICATE,
BORDER_REFLECT,
BORDER_WRAP,
BORDER_REFLECT_101,
BORDER_TRANSPARENT,
BORDER_ISOLATED,
}Expand description
Various border types, image boundaries are denoted with |
See also
borderInterpolate, copyMakeBorder
Variants§
BORDER_CONSTANT
iiiiii|abcdefgh|iiiiiii with some specified i
BORDER_REPLICATE
aaaaaa|abcdefgh|hhhhhhh
BORDER_REFLECT
fedcba|abcdefgh|hgfedcb
BORDER_WRAP
cdefgh|abcdefgh|abcdefg
BORDER_REFLECT_101
gfedcb|abcdefgh|gfedcba
BORDER_TRANSPARENT
uvwxyz|abcdefgh|ijklmno
BORDER_ISOLATED
do not look outside of ROI
Trait Implementations§
source§impl Clone for BorderTypes
impl Clone for BorderTypes
source§fn clone(&self) -> BorderTypes
fn clone(&self) -> BorderTypes
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 BorderTypes
impl Debug for BorderTypes
source§impl PartialEq<BorderTypes> for BorderTypes
impl PartialEq<BorderTypes> for BorderTypes
source§fn eq(&self, other: &BorderTypes) -> bool
fn eq(&self, other: &BorderTypes) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for BorderTypes
impl Eq for BorderTypes
impl StructuralEq for BorderTypes
impl StructuralPartialEq for BorderTypes
Auto Trait Implementations§
impl RefUnwindSafe for BorderTypes
impl Send for BorderTypes
impl Sync for BorderTypes
impl Unpin for BorderTypes
impl UnwindSafe for BorderTypes
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