pub struct ZipPlusParams<Zt: ZipTypes, Lc: LinearCode<Zt>> {
pub num_vars: usize,
pub num_rows: usize,
pub linear_code: Lc,
/* private fields */
}Expand description
Parameters for the Zip+ PCS.
Fields§
§num_vars: usize§num_rows: usize§linear_code: LcImplementations§
Source§impl<Zt: ZipTypes, Lc: LinearCode<Zt>> ZipPlusParams<Zt, Lc>
impl<Zt: ZipTypes, Lc: LinearCode<Zt>> ZipPlusParams<Zt, Lc>
Trait Implementations§
Source§impl<Zt: Clone + ZipTypes, Lc: Clone + LinearCode<Zt>> Clone for ZipPlusParams<Zt, Lc>
impl<Zt: Clone + ZipTypes, Lc: Clone + LinearCode<Zt>> Clone for ZipPlusParams<Zt, Lc>
Source§fn clone(&self) -> ZipPlusParams<Zt, Lc>
fn clone(&self) -> ZipPlusParams<Zt, Lc>
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 moreAuto Trait Implementations§
impl<Zt, Lc> Freeze for ZipPlusParams<Zt, Lc>where
Lc: Freeze,
impl<Zt, Lc> RefUnwindSafe for ZipPlusParams<Zt, Lc>where
Lc: RefUnwindSafe,
Zt: RefUnwindSafe,
impl<Zt, Lc> Send for ZipPlusParams<Zt, Lc>
impl<Zt, Lc> Sync for ZipPlusParams<Zt, Lc>
impl<Zt, Lc> Unpin for ZipPlusParams<Zt, Lc>
impl<Zt, Lc> UnsafeUnpin for ZipPlusParams<Zt, Lc>where
Lc: UnsafeUnpin,
impl<Zt, Lc> UnwindSafe for ZipPlusParams<Zt, Lc>where
Lc: UnwindSafe,
Zt: UnwindSafe,
Blanket Implementations§
§impl<T> AsMaybeUninit for T
impl<T> AsMaybeUninit for T
§type Uninit = MaybeUninit<T>
type Uninit = MaybeUninit<T>
This type in its maybe-uninitialized form.
§fn as_ref_uninit(&self) -> &<T as AsMaybeUninit>::Uninit
fn as_ref_uninit(&self) -> &<T as AsMaybeUninit>::Uninit
Converts a
&self to its maybe-initialized equivalent.§unsafe fn as_mut_uninit(&mut self) -> &mut <T as AsMaybeUninit>::Uninit
unsafe fn as_mut_uninit(&mut self) -> &mut <T as AsMaybeUninit>::Uninit
Converts a
&mut T to its maybe-initialized equivalent. Read more§unsafe fn raw_as_uninit<'a>(raw: *const T) -> &'a <T as AsMaybeUninit>::Uninit
unsafe fn raw_as_uninit<'a>(raw: *const T) -> &'a <T as AsMaybeUninit>::Uninit
Converts a raw pointer to a reference to maybe-uninit. Read more
§unsafe fn raw_mut_as_uninit<'a>(
raw: *mut T,
) -> &'a mut <T as AsMaybeUninit>::Uninit
unsafe fn raw_mut_as_uninit<'a>( raw: *mut T, ) -> &'a mut <T as AsMaybeUninit>::Uninit
Converts a raw mutable pointer to a mutable reference to maybe-uninit. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more