pub struct BitVec {
pub spans: Vec<BitVecSpan>,
/* private fields */
}
Fields§
§spans: Vec<BitVecSpan>
Implementations§
source§impl BitVec
impl BitVec
pub fn new() -> BitVec
pub fn write_bit(&mut self, index: usize, value: bool)
pub fn read_bit(&self, index: usize) -> bool
pub fn len(&self) -> usize
pub fn write_bigint(&mut self, index: usize, bigint: &BigInt)
pub fn write_bigint_with_span( &mut self, span: Span, offset: usize, addr: BigInt, bigint: &BigInt, )
pub fn mark_span( &mut self, offset: Option<usize>, size: usize, addr: BigInt, span: Span, )
pub fn to_bigint(&self) -> BigInt
source§impl BitVec
impl BitVec
pub fn format_binary(&self) -> Vec<u8> ⓘ
pub fn format_binstr(&self) -> String
pub fn format_hexstr(&self) -> String
pub fn format_str(&self, bits_per_digit: usize) -> String
pub fn format_bindump(&self) -> String
pub fn format_hexdump(&self) -> String
pub fn format_dump( &self, digit_bits: usize, byte_bits: usize, bytes_per_line: usize, ) -> String
pub fn format_mif(&self) -> String
pub fn format_intelhex(&self, address_unit: usize) -> String
pub fn format_separator(&self, radix: usize, separator: &str) -> String
pub fn format_c_array(&self, radix: usize) -> String
pub fn format_logisim(&self, bits_per_chunk: usize) -> String
pub fn format_annotated( &self, fileserver: &dyn FileServer, base: usize, digits_per_group: usize, ) -> String
pub fn format_tcgame( &self, fileserver: &dyn FileServer, base: usize, digits_per_group: usize, ) -> String
pub fn format_addrspan(&self, fileserver: &dyn FileServer) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BitVec
impl RefUnwindSafe for BitVec
impl Send for BitVec
impl Sync for BitVec
impl Unpin for BitVec
impl UnwindSafe for BitVec
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