pub struct ConstChoice(/* private fields */);
Expand description
A boolean value returned by constant-time const fn
s.
Implementations§
Trait Implementations§
Source§impl Clone for ConstChoice
impl Clone for ConstChoice
Source§fn clone(&self) -> ConstChoice
fn clone(&self) -> ConstChoice
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 ConstChoice
impl Debug for ConstChoice
Source§impl From<Choice> for ConstChoice
impl From<Choice> for ConstChoice
Source§impl From<ConstChoice> for Choice
impl From<ConstChoice> for Choice
Source§fn from(choice: ConstChoice) -> Self
fn from(choice: ConstChoice) -> Self
Converts to this type from the input type.
Source§impl From<ConstChoice> for bool
impl From<ConstChoice> for bool
Source§fn from(choice: ConstChoice) -> Self
fn from(choice: ConstChoice) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConstChoice
impl PartialEq for ConstChoice
impl Copy for ConstChoice
Auto Trait Implementations§
impl Freeze for ConstChoice
impl RefUnwindSafe for ConstChoice
impl Send for ConstChoice
impl Sync for ConstChoice
impl Unpin for ConstChoice
impl UnwindSafe for ConstChoice
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