pub struct InstRange(_, _, _);
Implementations
sourceimpl 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ⓘNotable traits for InstRangeIterimpl Iterator for InstRangeIter type Item = Inst;
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more