pub struct VcdWriter<W: Write> {
pub writer: W,
}
Expand description
Struct implementing methods for writing VCD data to some io::Write
Fields§
§writer: W
Implementations§
Source§impl<W: Write> VcdWriter<W>
impl<W: Write> VcdWriter<W>
pub fn new(writer: W) -> Self
pub fn flush(&mut self) -> Result<()>
pub fn write_vcd(&mut self, vcd: &Vcd) -> Result<()>
pub fn write_header(&mut self, header: &Header) -> Result<()>
pub fn write_vardefs(&mut self, vardefs: &VarDefs) -> Result<()>
pub fn write_scope_item(&mut self, scope: &ScopeItem) -> Result<()>
pub fn write_value_change_section( &mut self, vcs: &ValueChangeSection, initial_timestamp: u128, ) -> Result<()>
pub fn write_value_change_item(&mut self, item: &ValueChangeItem) -> Result<()>
pub fn write_scalar_change( &mut self, identifier: &str, value: &ScalarValue, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl<W> Freeze for VcdWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for VcdWriter<W>where
W: RefUnwindSafe,
impl<W> Send for VcdWriter<W>where
W: Send,
impl<W> Sync for VcdWriter<W>where
W: Sync,
impl<W> Unpin for VcdWriter<W>where
W: Unpin,
impl<W> UnwindSafe for VcdWriter<W>where
W: UnwindSafe,
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