pub(crate) struct BoundsCheck {
pub base: Handle<Expression>,
pub index: GuardedIndex,
pub length: IndexableLength,
}
Expand description
Items returned by the bounds_check_iter
iterator.
Fields§
§base: Handle<Expression>
The base of the Access
or AccessIndex
expression.
index: GuardedIndex
The index being accessed.
length: IndexableLength
The length of base
.
Auto Trait Implementations§
impl Freeze for BoundsCheck
impl RefUnwindSafe for BoundsCheck
impl Send for BoundsCheck
impl Sync for BoundsCheck
impl Unpin for BoundsCheck
impl UnwindSafe for BoundsCheck
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