pub enum SignatureYParity {
Even,
Odd,
}Expand description
EIP-2930 signature y parity.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SignatureYParity
impl Clone for SignatureYParity
Source§fn clone(&self) -> SignatureYParity
fn clone(&self) -> SignatureYParity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SignatureYParity
Source§impl Debug for SignatureYParity
impl Debug for SignatureYParity
impl Eq for SignatureYParity
Source§impl PartialEq for SignatureYParity
impl PartialEq for SignatureYParity
Source§fn eq(&self, other: &SignatureYParity) -> bool
fn eq(&self, other: &SignatureYParity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SignatureYParity
Auto Trait Implementations§
impl Freeze for SignatureYParity
impl RefUnwindSafe for SignatureYParity
impl Send for SignatureYParity
impl Sync for SignatureYParity
impl Unpin for SignatureYParity
impl UnsafeUnpin for SignatureYParity
impl UnwindSafe for SignatureYParity
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