Struct rust_hdl::core::code_writer::CodeWriter
source · [−]pub struct CodeWriter { /* private fields */ }
Implementations
sourceimpl CodeWriter
impl CodeWriter
pub fn new() -> CodeWriter
pub fn push(&mut self)
pub fn pop(&mut self)
pub fn next(&mut self)
pub fn add_line<S: AsRef<str>>(&mut self, val: S)
pub fn add<S: AsRef<str>>(&mut self, val: S)
pub fn write<S: AsRef<str>>(&mut self, val: S)
pub fn writeln<S: AsRef<str>>(&mut self, val: S)
pub fn flush(&mut self)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CodeWriter
impl Send for CodeWriter
impl Sync for CodeWriter
impl Unpin for CodeWriter
impl UnwindSafe for CodeWriter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more