pub struct Curve {
pub kind: CurveKind,
pub identifier: &'static str,
}
Expand description
A type which represents a cryptographic curve.
Fields§
§kind: CurveKind
The curve kind.
identifier: &'static str
Curve identifier.
Implementations§
Trait Implementations§
source§impl PartialEq for Curve
impl PartialEq for Curve
impl StructuralPartialEq for Curve
Auto Trait Implementations§
impl Freeze for Curve
impl RefUnwindSafe for Curve
impl Send for Curve
impl Sync for Curve
impl Unpin for Curve
impl UnwindSafe for Curve
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