[][src]Struct zamm_yang::codegen::filesystem::OutputConfig

pub struct OutputConfig<'a> {
    pub code: &'a str,
    pub file_path: &'a str,
    pub git_ignore: bool,
    pub cargo_track: bool,
}

Config options for writing out to a file.

Fields

code: &'a str

The final generated code, to be output to a file verbatim.

file_path: &'a str

The path to the output file.

git_ignore: bool

Whether or not to ignore outputted files.

cargo_track: bool

Whether or not to track generated files in Cargo.

Auto Trait Implementations

impl<'a> RefUnwindSafe for OutputConfig<'a>

impl<'a> Send for OutputConfig<'a>

impl<'a> Sync for OutputConfig<'a>

impl<'a> Unpin for OutputConfig<'a>

impl<'a> UnwindSafe for OutputConfig<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any