INNER CODE UNIT · Rust
capacity
binius-zk/binius64 · crates/compute/src/lib.rs:137
fn capacity(&self) -> usize;
/// Appends an element to the back of the buffer.
fn push(&mut self, value: T);
/// Clears the buffer, removing all elements while retaining its capacity.
fn clear(&mut self);
/// Resizes the buffer to `new_len`, filling any new slots with `value`.
fn resize(&mut self, new_len: usize, value: T)
where
T: Clone;
/// Appends all elements of `other` to the back of the buffer.
fn extend_from_slice(&mut self, other: &[T])
where
T: Clone;