pub enum InstIx {
InstIx(u32),
}Variants§
Implementations§
Source§impl InstIx
impl InstIx
pub fn new(n: u32) -> Self
pub const fn max_value() -> Self
pub const fn min_value() -> Self
pub const fn invalid_value() -> Self
pub fn is_valid(self) -> bool
pub fn is_invalid(self) -> bool
pub fn get(self) -> u32
pub fn plus(self, delta: u32) -> InstIx
pub fn minus(self, delta: u32) -> InstIx
pub fn dotdot(&self, last_plus1: InstIx) -> Range<InstIx>
Trait Implementations§
Source§impl Ord for InstIx
impl Ord for InstIx
Source§impl PartialOrd for InstIx
impl PartialOrd for InstIx
impl Copy for InstIx
impl Eq for InstIx
impl StructuralPartialEq for InstIx
Auto Trait Implementations§
impl Freeze for InstIx
impl RefUnwindSafe for InstIx
impl Send for InstIx
impl Sync for InstIx
impl Unpin for InstIx
impl UnwindSafe for InstIx
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