openvm_algebra_guest

Trait ExpBytes

Source
pub trait ExpBytes: Field {
    // Provided method
    fn exp_bytes(&self, is_positive: bool, bytes_be: &[u8]) -> Self
       where for<'a> &'a Self: Mul<&'a Self, Output = Self> { ... }
}

Provided Methods§

Source

fn exp_bytes(&self, is_positive: bool, bytes_be: &[u8]) -> Self
where for<'a> &'a Self: Mul<&'a Self, Output = Self>,

Exponentiates a field element by a value with a sign in big endian byte order

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.

Implementors§

Source§

impl<F: Field> ExpBytes for F
where for<'a> &'a Self: Mul<&'a Self, Output = Self>,