Enum lambdaworks_math::field::traits::RootsConfig
source · pub enum RootsConfig {
Natural,
NaturalInversed,
BitReverse,
BitReverseInversed,
}
Expand description
Represents different configurations that powers of roots of unity can be in. Some of these may be necessary for FFT (as twiddle factors).
Variants§
Trait Implementations§
source§impl Clone for RootsConfig
impl Clone for RootsConfig
source§fn clone(&self) -> RootsConfig
fn clone(&self) -> RootsConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RootsConfig
Auto Trait Implementations§
impl RefUnwindSafe for RootsConfig
impl Send for RootsConfig
impl Sync for RootsConfig
impl Unpin for RootsConfig
impl UnwindSafe for RootsConfig
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