Struct opencv::gapi::queue_capacity
source · #[repr(C)]pub struct queue_capacity {
pub capacity: size_t,
}
Expand description
Specify queue capacity for streaming execution.
In the streaming mode the pipeline steps are connected with queues and this compile argument controls every queue’s size.
Fields§
§capacity: size_t
Implementations§
source§impl queue_capacity
impl queue_capacity
sourcepub fn new(cap: size_t) -> Result<queue_capacity>
pub fn new(cap: size_t) -> Result<queue_capacity>
C++ default parameters
- cap: 1
Trait Implementations§
source§impl Clone for queue_capacity
impl Clone for queue_capacity
source§fn clone(&self) -> queue_capacity
fn clone(&self) -> queue_capacity
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 queue_capacity
impl Debug for queue_capacity
source§impl PartialEq<queue_capacity> for queue_capacity
impl PartialEq<queue_capacity> for queue_capacity
source§fn eq(&self, other: &queue_capacity) -> bool
fn eq(&self, other: &queue_capacity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for queue_capacity
impl StructuralPartialEq for queue_capacity
Auto Trait Implementations§
impl RefUnwindSafe for queue_capacity
impl Send for queue_capacity
impl Sync for queue_capacity
impl Unpin for queue_capacity
impl UnwindSafe for queue_capacity
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