pub struct BitPos(/* private fields */);
Expand description
Represents a bit position within an ApInt
.
This utility might become useful later, for example when we reduce the range of valid bit widths for some optimization oportunities.
Implementations§
Trait Implementations§
Source§impl Ord for BitPos
impl Ord for BitPos
Source§impl PartialOrd for BitPos
impl PartialOrd for BitPos
impl Copy for BitPos
impl Eq for BitPos
impl StructuralPartialEq for BitPos
Auto Trait Implementations§
impl Freeze for BitPos
impl RefUnwindSafe for BitPos
impl Send for BitPos
impl Sync for BitPos
impl Unpin for BitPos
impl UnwindSafe for BitPos
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