Trait rings_core::dht::did::Rotate
source · pub trait Rotate<Rhs = u16> {
type Output;
// Required method
fn rotate(&self, angle: Rhs) -> Self::Output;
}Expand description
The Rotate trait represents a affine transformation for values
in a finite ring. It defines a method rotate which allows applying
the transformation to the implementing type.