pub struct ChapelConfig {
pub indent_width: usize,
pub annotate_vars: bool,
pub use_writeln: bool,
}Expand description
Configuration for the Chapel backend emitter.
Fields§
§indent_width: usizeSpaces per indentation level
annotate_vars: boolEmit type annotations on var declarations when available
use_writeln: boolUse writeln for print calls
Trait Implementations§
Source§impl Clone for ChapelConfig
impl Clone for ChapelConfig
Source§fn clone(&self) -> ChapelConfig
fn clone(&self) -> ChapelConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChapelConfig
impl Debug for ChapelConfig
Auto Trait Implementations§
impl Freeze for ChapelConfig
impl RefUnwindSafe for ChapelConfig
impl Send for ChapelConfig
impl Sync for ChapelConfig
impl Unpin for ChapelConfig
impl UnsafeUnpin for ChapelConfig
impl UnwindSafe for ChapelConfig
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