pub enum BoundChecksInner {
None,
Mask,
Branch,
}
Expand description
How bound checks is handled for inner reductions.
Variants§
None
No bound check is necessary.
Mask
Using a mask is enough for bound checks. This will still read the memory in an out-of-bound location, but will replace the value by the null value.
Branch
Branching is necessary for bound checks.
Probably the right setting when performing fuse on read.
Trait Implementations§
Source§impl Clone for BoundChecksInner
impl Clone for BoundChecksInner
Source§fn clone(&self) -> BoundChecksInner
fn clone(&self) -> BoundChecksInner
Returns a duplicate 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 moreSource§impl Debug for BoundChecksInner
impl Debug for BoundChecksInner
Source§impl Hash for BoundChecksInner
impl Hash for BoundChecksInner
Source§impl PartialEq for BoundChecksInner
impl PartialEq for BoundChecksInner
impl Copy for BoundChecksInner
impl Eq for BoundChecksInner
impl StructuralPartialEq for BoundChecksInner
Auto Trait Implementations§
impl Freeze for BoundChecksInner
impl RefUnwindSafe for BoundChecksInner
impl Send for BoundChecksInner
impl Sync for BoundChecksInner
impl Unpin for BoundChecksInner
impl UnwindSafe for BoundChecksInner
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.