pub struct CSharpWriter<W: Write> {
pub options: CSharpOptions,
/* private fields */
}Fields§
§options: CSharpOptionsImplementations§
Source§impl<W: Write> CSharpWriter<W>
impl<W: Write> CSharpWriter<W>
pub fn new(out: W) -> Self
pub fn with_options(out: W, options: CSharpOptions) -> Self
pub fn into_inner(self) -> W
pub fn indent(&mut self)
pub fn dedent(&mut self)
pub fn newline(&mut self) -> Result
pub fn open_block(&mut self) -> Result
pub fn close_block(&mut self) -> Result
pub fn write<T: WriteCSharp + ?Sized>(&mut self, value: &T) -> Result
Trait Implementations§
Auto Trait Implementations§
impl<W> Forget for CSharpWriter<W>
impl<W> Freeze for CSharpWriter<W>
impl<W> Move for CSharpWriter<W>
impl<W> RefUnwindSafe for CSharpWriter<W>where
W: RefUnwindSafe,
impl<W> Send for CSharpWriter<W>
impl<W> Sync for CSharpWriter<W>
impl<W> Unpin for CSharpWriter<W>
impl<W> UnsafeUnpin for CSharpWriter<W>
impl<W> UnwindSafe for CSharpWriter<W>where
W: UnwindSafe,
RawVecInner: 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