#[repr(C)]pub struct VariableRangeCols<T> {
pub value: T,
pub max_bits: T,
pub two_to_max_bits: T,
pub mult: T,
}Fields§
§value: TThe value being range checked
max_bits: TThe maximum number of bits for this value
two_to_max_bits: THelper column storing 2^max_bits, used in constraints
mult: TNumber of range checks requested for each (value, max_bits) pair
Implementations§
Trait Implementations§
Source§impl<T> Borrow<VariableRangeCols<T>> for [T]
impl<T> Borrow<VariableRangeCols<T>> for [T]
Source§fn borrow(&self) -> &VariableRangeCols<T>
fn borrow(&self) -> &VariableRangeCols<T>
Immutably borrows from an owned value. Read more
Source§impl<T> BorrowMut<VariableRangeCols<T>> for [T]
impl<T> BorrowMut<VariableRangeCols<T>> for [T]
Source§fn borrow_mut(&mut self) -> &mut VariableRangeCols<T>
fn borrow_mut(&mut self) -> &mut VariableRangeCols<T>
Mutably borrows from an owned value. Read more
Source§impl<T: Clone> Clone for VariableRangeCols<T>
impl<T: Clone> Clone for VariableRangeCols<T>
Source§fn clone(&self) -> VariableRangeCols<T>
fn clone(&self) -> VariableRangeCols<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T: Copy> Copy for VariableRangeCols<T>
Source§impl<T: Default> Default for VariableRangeCols<T>
impl<T: Default> Default for VariableRangeCols<T>
Source§fn default() -> VariableRangeCols<T>
fn default() -> VariableRangeCols<T>
Returns the “default value” for a type. Read more
Source§impl<T> StructReflectionHelper for VariableRangeCols<T>
impl<T> StructReflectionHelper for VariableRangeCols<T>
Auto Trait Implementations§
impl<T> Freeze for VariableRangeCols<T>where
T: Freeze,
impl<T> RefUnwindSafe for VariableRangeCols<T>where
T: RefUnwindSafe,
impl<T> Send for VariableRangeCols<T>where
T: Send,
impl<T> Sync for VariableRangeCols<T>where
T: Sync,
impl<T> Unpin for VariableRangeCols<T>where
T: Unpin,
impl<T> UnsafeUnpin for VariableRangeCols<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for VariableRangeCols<T>where
T: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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