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 Freeze for InstRange
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)