pub trait ShiftingValue<F: Field> {
type MyShift;
// Required methods
fn shift() -> Self::MyShift;
fn of_field(field: F) -> Self;
fn shifted_to_field(&self) -> F;
fn shifted_raw(&self) -> F;
fn of_raw(shifted: F) -> Self;
}
Required Associated Types§
Required Methods§
fn shift() -> Self::MyShift
fn of_field(field: F) -> Self
fn shifted_to_field(&self) -> F
fn shifted_raw(&self) -> F
fn of_raw(shifted: F) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.