pub struct BatchCommandBuilder { /* private fields */ }Expand description
Batch command builder for optimized pipeline operations
Implementations§
Source§impl BatchCommandBuilder
impl BatchCommandBuilder
Sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Create a new batch command builder with capacity
Sourcepub fn add_command<T>(&mut self, command: T)
pub fn add_command<T>(&mut self, command: T)
Add a command to the batch
Sourcepub fn estimated_size(&self) -> usize
pub fn estimated_size(&self) -> usize
Get the estimated total size
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BatchCommandBuilder
impl !RefUnwindSafe for BatchCommandBuilder
impl Send for BatchCommandBuilder
impl Sync for BatchCommandBuilder
impl Unpin for BatchCommandBuilder
impl !UnwindSafe for BatchCommandBuilder
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