pub struct Bundle<W>(/* private fields */);Expand description
A collection of wires, useful for the garbled gadgets defined by BundleGadgets.
Implementations§
Trait Implementations§
Source§impl<W: Clone + HasModulus> From<Bundle<W>> for BinaryBundle<W>
impl<W: Clone + HasModulus> From<Bundle<W>> for BinaryBundle<W>
Source§fn from(b: Bundle<W>) -> BinaryBundle<W>
fn from(b: Bundle<W>) -> BinaryBundle<W>
Converts to this type from the input type.
Auto Trait Implementations§
impl<W> Freeze for Bundle<W>
impl<W> RefUnwindSafe for Bundle<W>where
W: RefUnwindSafe,
impl<W> Send for Bundle<W>where
W: Send,
impl<W> Sync for Bundle<W>where
W: Sync,
impl<W> Unpin for Bundle<W>where
W: Unpin,
impl<W> UnwindSafe for Bundle<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