Struct baa::ArrayValueRef
source · pub struct ArrayValueRef<'a> { /* private fields */ }Expand description
Bit-vector array value that does not own its storage.
Trait Implementations§
source§impl<'a> ArrayOps for ArrayValueRef<'a>
impl<'a> ArrayOps for ArrayValueRef<'a>
fn index_width(&self) -> WidthInt
fn data_width(&self) -> WidthInt
fn words(&self) -> &[Word]
fn words_per_element(&self) -> usize
fn num_elements(&self) -> usize
fn select<'a>(&self, index: impl Into<BitVecValueRef<'a>>) -> BitVecValueRef<'_>
fn is_equal<R: ArrayOps + ?Sized>(&self, rhs: &R) -> bool
source§impl<'a> Clone for ArrayValueRef<'a>
impl<'a> Clone for ArrayValueRef<'a>
source§fn clone(&self) -> ArrayValueRef<'a>
fn clone(&self) -> ArrayValueRef<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a> Debug for ArrayValueRef<'a>
impl<'a> Debug for ArrayValueRef<'a>
source§impl<'a> From<&'a ArrayValue> for ArrayValueRef<'a>
impl<'a> From<&'a ArrayValue> for ArrayValueRef<'a>
source§fn from(value: &'a ArrayValue) -> Self
fn from(value: &'a ArrayValue) -> Self
Converts to this type from the input type.
source§impl<'a> From<ArrayValueRef<'a>> for ValueRef<'a>
impl<'a> From<ArrayValueRef<'a>> for ValueRef<'a>
source§fn from(value: ArrayValueRef<'a>) -> Self
fn from(value: ArrayValueRef<'a>) -> Self
Converts to this type from the input type.
source§impl<'a, I> IndexToRef<I, ArrayValueRef<'a>> for &'a [Word]where
I: Borrow<ArrayValueIndex>,
impl<'a, I> IndexToRef<I, ArrayValueRef<'a>> for &'a [Word]where
I: Borrow<ArrayValueIndex>,
fn get_ref(self, index: I) -> ArrayValueRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ArrayValueRef<'a>
impl<'a> RefUnwindSafe for ArrayValueRef<'a>
impl<'a> Send for ArrayValueRef<'a>
impl<'a> Sync for ArrayValueRef<'a>
impl<'a> Unpin for ArrayValueRef<'a>
impl<'a> UnwindSafe for ArrayValueRef<'a>
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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)