pub struct InstRange(/* private fields */);
Implementations§
source§impl InstRange
impl InstRange
pub fn forward(from: Inst, to: Inst) -> Self
pub fn backward(from: Inst, to: Inst) -> Self
pub fn first(self) -> Inst
pub fn last(self) -> Inst
pub fn rest(self) -> InstRange
pub fn len(self) -> usize
pub fn is_forward(self) -> bool
pub fn rev(self) -> Self
pub fn iter(self) -> InstRangeIter ⓘ
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for InstRange
impl Send for InstRange
impl Sync for InstRange
impl Unpin for InstRange
impl UnwindSafe for InstRange
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