Struct saffron::utils::QueryBytes
source · pub struct QueryBytes {
pub start: usize,
pub len: usize,
}
Expand description
Represents the bytes a user query
Fields§
§start: usize
§len: usize
Implementations§
source§impl QueryBytes
impl QueryBytes
pub fn into_query_field<F: PrimeField>( &self, domain_size: usize, n_polys: usize ) -> Result<QueryField<F>, QueryError>
Trait Implementations§
source§impl Clone for QueryBytes
impl Clone for QueryBytes
source§fn clone(&self) -> QueryBytes
fn clone(&self) -> QueryBytes
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for QueryBytes
impl Send for QueryBytes
impl Sync for QueryBytes
impl Unpin for QueryBytes
impl UnwindSafe for QueryBytes
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