pub struct Inputs<F: Field> {
fields: Vec<F>,
bits: Vec<bool>,
}
Fields§
§fields: Vec<F>
§bits: Vec<bool>
Implementations§
Source§impl<F: Field> Inputs<F>
impl<F: Field> Inputs<F>
pub fn new() -> Self
pub fn append_bit(&mut self, bit: bool)
pub fn append_bool(&mut self, value: bool)
pub fn append_bits(&mut self, bits: &[bool])
pub fn append_bytes(&mut self, bytes: &[u8])
pub fn append_u64(&mut self, value: u64)
pub fn append_u32(&mut self, value: u32)
pub fn append_field(&mut self, field: F)
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for Inputs<F>
impl<F> RefUnwindSafe for Inputs<F>where
F: RefUnwindSafe,
impl<F> Send for Inputs<F>
impl<F> Sync for Inputs<F>
impl<F> Unpin for Inputs<F>where
F: Unpin,
impl<F> UnwindSafe for Inputs<F>where
F: UnwindSafe,
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