pub struct WiredWitnesses {
pub a: usize,
pub b: usize,
pub d: usize,
pub o: usize,
}Expand description
Polynomial witnesses allocated to a constraint system
Fields§
§a: usizeWired a
b: usizeWired b
d: usizeWired d (fourth)
o: usizeWired o (output)
Trait Implementations§
Source§impl Clone for WiredWitnesses
impl Clone for WiredWitnesses
Source§fn clone(&self) -> WiredWitnesses
fn clone(&self) -> WiredWitnesses
Returns a duplicate 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 WiredWitnesses
impl Debug for WiredWitnesses
Source§impl DecodableElement for WiredWitnesses
impl DecodableElement for WiredWitnesses
Source§fn try_from_buffer_in_place<'a, 'b>(
&'a mut self,
ctx: &DecoderContext<'a>,
buf: &'b [u8],
) -> Result<()>
fn try_from_buffer_in_place<'a, 'b>( &'a mut self, ctx: &DecoderContext<'a>, buf: &'b [u8], ) -> Result<()>
Deserialize the type from a given buffer Read more
Source§fn try_from_buffer<'b>(ctx: &DecoderContext<'_>, buf: &'b [u8]) -> Result<Self>
fn try_from_buffer<'b>(ctx: &DecoderContext<'_>, buf: &'b [u8]) -> Result<Self>
Create a new instance of the type from the provided buffer
Source§fn try_decode_in_place<'a, 'b>(
&mut self,
ctx: &DecoderContext<'a>,
buf: &'b [u8],
) -> Result<&'b [u8]>
fn try_decode_in_place<'a, 'b>( &mut self, ctx: &DecoderContext<'a>, buf: &'b [u8], ) -> Result<&'b [u8]>
Write an element from the buffer, and return the remainder bytes Read more
Source§fn try_decode<'a, 'b>(
ctx: &DecoderContext<'a>,
buf: &'b [u8],
) -> Result<(Self, &'b [u8])>
fn try_decode<'a, 'b>( ctx: &DecoderContext<'a>, buf: &'b [u8], ) -> Result<(Self, &'b [u8])>
Write an element from the buffer, and return the remainder bytes Read more
Source§fn try_from_reader<R>(ctx: &DecoderContext<'_>, reader: R) -> Result<Self>where
R: Read,
fn try_from_reader<R>(ctx: &DecoderContext<'_>, reader: R) -> Result<Self>where
R: Read,
Fetch a new element from a context
Source§impl Default for WiredWitnesses
impl Default for WiredWitnesses
Source§fn default() -> WiredWitnesses
fn default() -> WiredWitnesses
Returns the “default value” for a type. Read more
Source§impl Element for WiredWitnesses
impl Element for WiredWitnesses
Source§impl EncodableElement for WiredWitnesses
impl EncodableElement for WiredWitnesses
Source§fn to_buffer(&self, ctx: &mut EncoderContext, buf: &mut [u8])
fn to_buffer(&self, ctx: &mut EncoderContext, buf: &mut [u8])
Write the type into the buffer. Read more
Source§fn to_vec(&self, ctx: &mut EncoderContext) -> Vec<u8> ⓘ
fn to_vec(&self, ctx: &mut EncoderContext) -> Vec<u8> ⓘ
Serialize the object into a bytes array.
Source§impl Hash for WiredWitnesses
impl Hash for WiredWitnesses
Source§impl Ord for WiredWitnesses
impl Ord for WiredWitnesses
Source§fn cmp(&self, other: &WiredWitnesses) -> Ordering
fn cmp(&self, other: &WiredWitnesses) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WiredWitnesses
impl PartialEq for WiredWitnesses
Source§impl PartialOrd for WiredWitnesses
impl PartialOrd for WiredWitnesses
impl Copy for WiredWitnesses
impl Eq for WiredWitnesses
impl StructuralPartialEq for WiredWitnesses
Auto Trait Implementations§
impl Freeze for WiredWitnesses
impl RefUnwindSafe for WiredWitnesses
impl Send for WiredWitnesses
impl Sync for WiredWitnesses
impl Unpin for WiredWitnesses
impl UnwindSafe for WiredWitnesses
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