pub struct CrtBundle<W>(/* private fields */);Expand description
Bundle which is explicitly CRT-representation.
Implementations§
Source§impl<W: Clone + HasModulus> CrtBundle<W>
impl<W: Clone + HasModulus> CrtBundle<W>
Methods from Deref<Target = Bundle<W>>§
Sourcepub fn with_moduli(&self, moduli: &[u16]) -> Bundle<W>
pub fn with_moduli(&self, moduli: &[u16]) -> Bundle<W>
Returns a new bundle only containing wires with matching moduli.
Trait Implementations§
Auto Trait Implementations§
impl<W> Freeze for CrtBundle<W>
impl<W> RefUnwindSafe for CrtBundle<W>where
W: RefUnwindSafe,
impl<W> Send for CrtBundle<W>where
W: Send,
impl<W> Sync for CrtBundle<W>where
W: Sync,
impl<W> Unpin for CrtBundle<W>where
W: Unpin,
impl<W> UnwindSafe for CrtBundle<W>where
W: 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
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§impl<T> IsSameType<T> for T
impl<T> IsSameType<T> for T
§type EqualityProposition = TrueEqualityProposition
type EqualityProposition = TrueEqualityProposition
The [
EqualityProposition] that Self == T