Struct secp256kfun::marker::Normal
source · pub struct Normal;
Expand description
A Fully Normalized Point. Internally Normal
points are represented using
affine coordinates with fully normalized x
and y
field elements.
Trait Implementations§
source§impl<'__de> BorrowDecode<'__de> for Normal
impl<'__de> BorrowDecode<'__de> for Normal
source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
source§impl<'de> Deserialize<'de> for Normal
impl<'de> Deserialize<'de> for Normal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Normal
impl Ord for Normal
source§impl PartialEq for Normal
impl PartialEq for Normal
source§impl PartialOrd for Normal
impl PartialOrd for Normal
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Normal
impl Eq for Normal
impl Normalized for Normal
impl StructuralPartialEq for Normal
Auto Trait Implementations§
impl RefUnwindSafe for Normal
impl Send for Normal
impl Sync for Normal
impl Unpin for Normal
impl UnwindSafe for Normal
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<N> PointType for Nwhere
N: Normalized,
impl<N> PointType for Nwhere
N: Normalized,
§type NegationType = Normal
type NegationType = Normal
The point type returned from the negation of a point of this type.
source§fn is_normalized() -> bool
fn is_normalized() -> bool
Whether the point type is normalized or not (i.e. not
NonNormal
)