Struct elastic_elgamal::app::MultiChoice
source · pub struct MultiChoice(/* private fields */);
Expand description
Multi-choice setup for EncryptedChoice
, in which it can contain any possible number
of selected options (0..=n
, where n
is the number of options).
§Examples
See EncryptedChoice
docs for an example of usage.
Trait Implementations§
source§impl Clone for MultiChoice
impl Clone for MultiChoice
source§fn clone(&self) -> MultiChoice
fn clone(&self) -> MultiChoice
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 moresource§impl Debug for MultiChoice
impl Debug for MultiChoice
impl Copy for MultiChoice
Auto Trait Implementations§
impl Freeze for MultiChoice
impl RefUnwindSafe for MultiChoice
impl Send for MultiChoice
impl Sync for MultiChoice
impl Unpin for MultiChoice
impl UnwindSafe for MultiChoice
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