Struct baa::ArrayValue
source · pub struct ArrayValue { /* private fields */ }Expand description
Owned dense bit-vector array.
Trait Implementations§
source§impl ArrayMutOps for ArrayValue
impl ArrayMutOps for ArrayValue
fn words_mut(&mut self) -> &mut [Word]
fn store<'a, 'b>( &mut self, index: impl Into<BitVecValueRef<'a>>, data: impl Into<BitVecValueRef<'b>>, )
fn select_mut<I: BitVecOps>(&mut self, index: I) -> BitVecValueMutRef<'_>
fn assign<'a>(&mut self, value: impl Into<ArrayValueRef<'a>>)
source§impl ArrayOps for ArrayValue
impl ArrayOps for ArrayValue
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 Clone for ArrayValue
impl Clone for ArrayValue
source§fn clone(&self) -> ArrayValue
fn clone(&self) -> ArrayValue
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> 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<&'a mut ArrayValue> for ArrayValueMutRef<'a>
impl<'a> From<&'a mut ArrayValue> for ArrayValueMutRef<'a>
source§fn from(value: &'a mut ArrayValue) -> Self
fn from(value: &'a mut ArrayValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArrayValue
impl RefUnwindSafe for ArrayValue
impl Send for ArrayValue
impl Sync for ArrayValue
impl Unpin for ArrayValue
impl UnwindSafe for ArrayValue
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)