pub struct Secp256r1;
Trait Implementations§
Source§impl Secp256Trait for Secp256r1
impl Secp256Trait for Secp256r1
const STR_ID_NEW: &'static str = "secp256r1_new_syscall"
const STR_ID_ADD: &'static str = "secp256r1_add_syscall"
const STR_ID_MUL: &'static str = "secp256r1_mul_syscall"
const STR_ID_GET_POINT_FROM_X: &'static str = "secp256r1_get_point_from_x_syscall"
const STR_ID_GET_XY: &'static str = "secp256r1_get_xy_syscall"
const TYPE_ID: GenericTypeId = Secp256r1PointType::ID
const TYPE_ID_STR: &'static str = "core::starknet::secp256r1::Secp256r1Point"
Auto Trait Implementations§
impl Freeze for Secp256r1
impl RefUnwindSafe for Secp256r1
impl Send for Secp256r1
impl Sync for Secp256r1
impl Unpin for Secp256r1
impl UnwindSafe for Secp256r1
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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