Skip to main content

SvpPPolViewMut

Struct SvpPPolViewMut 

Source
pub struct SvpPPolViewMut<'a, B>
where B: Backend + 'a,
{ /* private fields */ }

Implementations§

Source§

impl<'a, B> SvpPPolViewMut<'a, B>
where B: Backend + 'a,

Source

pub fn from_inner( inner: SvpPPol<<B as Backend>::BufMut<'a>, B>, ) -> SvpPPolViewMut<'a, B>

Source

pub fn into_inner(self) -> SvpPPol<<B as Backend>::BufMut<'a>, B>

Methods from Deref<Target = SvpPPol<<B as Backend>::BufMut<'a>, B>>§

Source

pub fn n(&self) -> usize

Source

pub fn cols(&self) -> usize

Source

pub fn shape(&self) -> ScalarZnxShape

Trait Implementations§

Source§

impl<'a, B> Deref for SvpPPolViewMut<'a, B>
where B: Backend + 'a,

Source§

type Target = SvpPPol<<B as Backend>::BufMut<'a>, B>

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<SvpPPolViewMut<'a, B> as Deref>::Target

Dereferences the value.
Source§

impl<'a, B> DerefMut for SvpPPolViewMut<'a, B>
where B: Backend + 'a,

Source§

fn deref_mut(&mut self) -> &mut <SvpPPolViewMut<'a, B> as Deref>::Target

Mutably dereferences the value.
Source§

impl<'a, B> SvpPPolToBackendMut<B> for SvpPPolViewMut<'a, B>
where B: Backend + 'a,

Source§

fn to_backend_mut(&mut self) -> SvpPPol<<B as Backend>::BufMut<'_>, B>

Source§

impl<'a, B> SvpPPolToBackendRef<B> for SvpPPolViewMut<'a, B>
where B: Backend + 'a,

Source§

fn to_backend_ref(&self) -> SvpPPol<<B as Backend>::BufRef<'_>, B>

Source§

impl<'a, B> ZnxInfos for SvpPPolViewMut<'a, B>
where B: Backend + 'a,

Source§

fn cols(&self) -> usize

Returns the number of polynomials in each row.
Source§

fn rows(&self) -> usize

Returns the number of rows.
Source§

fn n(&self) -> usize

Returns the ring degree N of the polynomials in Z[X]/(X^N + 1).
Source§

fn size(&self) -> usize

Returns the number of limbs per polynomial.
Source§

fn poly_count(&self) -> usize

Returns the total number of small polynomials.
Source§

fn log_n(&self) -> usize

Returns the base two logarithm of the ring dimension of the polynomials.

Auto Trait Implementations§

§

impl<'a, B> Freeze for SvpPPolViewMut<'a, B>
where <B as Backend>::BufMut<'a>: Freeze,

§

impl<'a, B> RefUnwindSafe for SvpPPolViewMut<'a, B>
where <B as Backend>::BufMut<'a>: RefUnwindSafe, B: RefUnwindSafe,

§

impl<'a, B> Send for SvpPPolViewMut<'a, B>

§

impl<'a, B> Sync for SvpPPolViewMut<'a, B>
where <B as Backend>::BufMut<'a>: Sync,

§

impl<'a, B> Unpin for SvpPPolViewMut<'a, B>
where <B as Backend>::BufMut<'a>: Unpin, B: Unpin,

§

impl<'a, B> UnsafeUnpin for SvpPPolViewMut<'a, B>
where <B as Backend>::BufMut<'a>: UnsafeUnpin,

§

impl<'a, B> UnwindSafe for SvpPPolViewMut<'a, B>
where <B as Backend>::BufMut<'a>: UnwindSafe, B: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V