pub struct SubfieldSlice<'a, F, Mem: ComputeMemory<F>> {
pub slice: Mem::FSlice<'a>,
pub tower_level: usize,
}
Expand description
SubfieldSlice
is a structure that represents a slice of elements stored in a compute memory,
along with an associated tower level. This structure is used to handle subfield operations
within a computational context, where the slice
is an immutable reference to the data
and tower_level
indicates the level of the field tower to which the elements belong.
§Type Parameters
'a
: The lifetime of the slice reference.F
: The type of the field elements stored in the slice.Mem
: A type that implements theComputeMemory
trait, which provides the necessary operations for handling memory slices.
§Fields
slice
: An immutable slice of elements stored in compute memory, represented byMem::FSlice<'a>
.tower_level
: Ausize
value indicating the level of the field tower for the elements in the slice.
§Usage
SubfieldSlice
is typically used in scenarios where operations need to be performed on
specific subfields of a larger field structure, allowing for efficient computation and
manipulation of data within a hierarchical field system.
Fields§
§slice: Mem::FSlice<'a>
§tower_level: usize
Implementations§
Source§impl<'a, F, Mem: ComputeMemory<F>> SubfieldSlice<'a, F, Mem>
impl<'a, F, Mem: ComputeMemory<F>> SubfieldSlice<'a, F, Mem>
Auto Trait Implementations§
impl<'a, F, Mem> Freeze for SubfieldSlice<'a, F, Mem>
impl<'a, F, Mem> RefUnwindSafe for SubfieldSlice<'a, F, Mem>
impl<'a, F, Mem> Send for SubfieldSlice<'a, F, Mem>
impl<'a, F, Mem> Sync for SubfieldSlice<'a, F, Mem>
impl<'a, F, Mem> Unpin for SubfieldSlice<'a, F, Mem>
impl<'a, F, Mem> UnwindSafe for SubfieldSlice<'a, F, Mem>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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