pub struct BbsInstance(pub Box<BbsParameters>);
Tuple Fields§
§0: Box<BbsParameters>
Trait Implementations§
Source§impl Clone for BbsInstance
impl Clone for BbsInstance
Source§fn clone(&self) -> BbsInstance
fn clone(&self) -> BbsInstance
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 BbsInstance
impl Debug for BbsInstance
Source§impl From<BbsInstance> for AlgorithmInstance
impl From<BbsInstance> for AlgorithmInstance
Source§fn from(value: BbsInstance) -> Self
fn from(value: BbsInstance) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AlgorithmInstance> for BbsInstance
impl TryFrom<AlgorithmInstance> for BbsInstance
Source§type Error = UnsupportedAlgorithm
type Error = UnsupportedAlgorithm
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for BbsInstance
impl RefUnwindSafe for BbsInstance
impl Send for BbsInstance
impl Sync for BbsInstance
impl Unpin for BbsInstance
impl UnwindSafe for BbsInstance
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