pub struct SubfieldTransformer<IF, OF, T> { /* private fields */ }
Expand description
A 3- step transformation :
- Cast to base b-bit packed field
- Apply linear transformation between aes and binary b8 tower fields
- Cast back to the target field
Trait Implementations§
Source§impl<IF, OF, IEP, OEP, T> Transformation<IEP, OEP> for SubfieldTransformer<IF, OF, T>where
IF: Field,
OF: Field,
IEP: PackedExtension<IF>,
OEP: PackedExtension<OF>,
T: Transformation<PackedSubfield<IEP, IF>, PackedSubfield<OEP, OF>>,
impl<IF, OF, IEP, OEP, T> Transformation<IEP, OEP> for SubfieldTransformer<IF, OF, T>where
IF: Field,
OF: Field,
IEP: PackedExtension<IF>,
OEP: PackedExtension<OF>,
T: Transformation<PackedSubfield<IEP, IF>, PackedSubfield<OEP, OF>>,
Auto Trait Implementations§
impl<IF, OF, T> Freeze for SubfieldTransformer<IF, OF, T>where
T: Freeze,
impl<IF, OF, T> RefUnwindSafe for SubfieldTransformer<IF, OF, T>
impl<IF, OF, T> Send for SubfieldTransformer<IF, OF, T>
impl<IF, OF, T> Sync for SubfieldTransformer<IF, OF, T>
impl<IF, OF, T> Unpin for SubfieldTransformer<IF, OF, T>
impl<IF, OF, T> UnwindSafe for SubfieldTransformer<IF, OF, T>
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> 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