Struct kimchi::circuits::witness::ConstantCell
source · pub struct ConstantCell<F: Field> { /* private fields */ }
Expand description
Witness cell with constant value
Implementations§
source§impl<F: Field> ConstantCell<F>
impl<F: Field> ConstantCell<F>
sourcepub fn create(value: F) -> Box<ConstantCell<F>>
pub fn create(value: F) -> Box<ConstantCell<F>>
Create witness cell with constant value
Trait Implementations§
Auto Trait Implementations§
impl<F> RefUnwindSafe for ConstantCell<F>where F: RefUnwindSafe,
impl<F> Send for ConstantCell<F>
impl<F> Sync for ConstantCell<F>
impl<F> Unpin for ConstantCell<F>where F: Unpin,
impl<F> UnwindSafe for ConstantCell<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