pub struct GMatDesc { /* private fields */ }
Expand description
\addtogroup gapi_meta_args
Implementations§
source§impl GMatDesc
impl GMatDesc
sourcepub fn new(d: i32, c: i32, s: Size, p: bool) -> Result<GMatDesc>
pub fn new(d: i32, c: i32, s: Size, p: bool) -> Result<GMatDesc>
C++ default parameters
- p: false
sourcepub fn new_def(d: i32, c: i32, s: Size) -> Result<GMatDesc>
pub fn new_def(d: i32, c: i32, s: Size) -> Result<GMatDesc>
Note
This alternative version of [new] function uses the following default values for its arguments:
- p: false
pub fn new_1(d: i32, dd: &Vector<i32>) -> Result<GMatDesc>
pub fn new_2(d: i32, dd: Vector<i32>) -> Result<GMatDesc>
pub fn default() -> Result<GMatDesc>
Trait Implementations§
source§impl Boxed for GMatDesc
impl Boxed for GMatDesc
source§impl GMatDescTrait for GMatDesc
impl GMatDescTrait for GMatDesc
source§impl GMatDescTraitConst for GMatDesc
impl GMatDescTraitConst for GMatDesc
fn as_raw_GMatDesc(&self) -> *const c_void
fn depth(&self) -> i32
fn chan(&self) -> i32
fn size(&self) -> Size
fn planar(&self) -> bool
fn dims(&self) -> Vector<i32>
fn equals(&self, rhs: &GMatDesc) -> Result<bool>
fn not_equals(&self, rhs: &GMatDesc) -> Result<bool>
fn is_nd(&self) -> Result<bool>
fn can_describe(&self, mat: &Mat) -> Result<bool>
fn can_describe_1(&self, mat: &RMat) -> Result<bool>
fn with_size_delta(&self, delta: Size) -> Result<GMatDesc>
fn with_size_delta_1(&self, dx: i32, dy: i32) -> Result<GMatDesc>
fn with_size(&self, sz: Size) -> Result<GMatDesc>
fn with_depth(&self, ddepth: i32) -> Result<GMatDesc>
fn with_type(&self, ddepth: i32, dchan: i32) -> Result<GMatDesc>
fn as_planar(&self) -> Result<GMatDesc>
fn as_planar_1(&self, planes: i32) -> Result<GMatDesc>
fn as_interleaved(&self) -> Result<GMatDesc>
impl Send for GMatDesc
Auto Trait Implementations§
impl RefUnwindSafe for GMatDesc
impl !Sync for GMatDesc
impl Unpin for GMatDesc
impl UnwindSafe for GMatDesc
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