pub enum PointFormat {
Identity,
Uncompressed,
Compressed,
}
Expand description
Format of a serialized elliptic curve point
Variants§
Identity
Identity point (all zeros)
Uncompressed
Uncompressed format: 0x04 || x || y
Compressed
Compressed format: 0x02/0x03 || x
Trait Implementations§
Source§impl Clone for PointFormat
impl Clone for PointFormat
Source§fn clone(&self) -> PointFormat
fn clone(&self) -> PointFormat
Returns a duplicate 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 PointFormat
impl Debug for PointFormat
Source§impl PartialEq for PointFormat
impl PartialEq for PointFormat
impl Copy for PointFormat
impl Eq for PointFormat
impl StructuralPartialEq for PointFormat
Auto Trait Implementations§
impl Freeze for PointFormat
impl RefUnwindSafe for PointFormat
impl Send for PointFormat
impl Sync for PointFormat
impl Unpin for PointFormat
impl UnwindSafe for PointFormat
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