mod construction;
mod ops;
#[derive(Debug, Clone, PartialEq, PartialOrd)]
pub struct WideBits {
len: usize, data: Box<[u64]>, }
impl WideBits {
#[inline]
pub(crate) const fn new_unchecked(len: usize, data: Box<[u64]>) -> Self {
Self { len, data }
}
#[inline]
pub const fn len(&self) -> usize {
self.len
}
#[inline]
pub const fn data(&self) -> &[u64] {
&self.data
}
#[inline]
pub fn into_parts(self) -> (usize, Box<[u64]>) {
(self.len, self.data)
}
}