pub struct GMat { /* private fields */ }Expand description
GMat class represents image or tensor data in the graph.
GMat doesn’t store any data itself, instead it describes a functional relationship between operations consuming and producing GMat objects.
GMat is a virtual counterpart of Mat and UMat, but it doesn’t mean G-API use Mat or UMat objects internally to represent GMat objects – the internal data representation may be backend-specific or optimized out at all.
§See also
Mat, GMatDesc
Implementations§
Trait Implementations§
source§impl Boxed for GMat
 
impl Boxed for GMat
source§unsafe fn from_raw(ptr: <GMat as OpenCVType<'_>>::ExternReceive) -> Self
 
unsafe fn from_raw(ptr: <GMat as OpenCVType<'_>>::ExternReceive) -> Self
Wrap the specified raw pointer Read more
source§fn into_raw(self) -> <GMat as OpenCVTypeExternContainer>::ExternSendMut
 
fn into_raw(self) -> <GMat as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
source§fn as_raw(&self) -> <GMat as OpenCVTypeExternContainer>::ExternSend
 
fn as_raw(&self) -> <GMat as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
source§fn as_raw_mut(&mut self) -> <GMat as OpenCVTypeExternContainer>::ExternSendMut
 
fn as_raw_mut(&mut self) -> <GMat as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
source§impl GMatTraitConst for GMat
 
impl GMatTraitConst for GMat
fn as_raw_GMat(&self) -> *const c_void
impl Send for GMat
impl VectorElement for GMat
Auto Trait Implementations§
impl Freeze for GMat
impl RefUnwindSafe for GMat
impl !Sync for GMat
impl Unpin for GMat
impl UnwindSafe for GMat
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