pub struct ReactConfig {
pub base_url: Option<String>,
pub no_jsdoc: bool,
pub scaffold: Option<ScaffoldOptions>,
}Expand description
Configuration for the React generator.
Fields§
§base_url: Option<String>§no_jsdoc: bool§scaffold: Option<ScaffoldOptions>Generate scaffold files (package.json, tsconfig.json, etc).
Trait Implementations§
Source§impl Clone for ReactConfig
impl Clone for ReactConfig
Source§fn clone(&self) -> ReactConfig
fn clone(&self) -> ReactConfig
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 ReactConfig
impl Debug for ReactConfig
Source§impl Default for ReactConfig
impl Default for ReactConfig
Source§fn default() -> ReactConfig
fn default() -> ReactConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReactConfig
impl RefUnwindSafe for ReactConfig
impl Send for ReactConfig
impl Sync for ReactConfig
impl Unpin for ReactConfig
impl UnwindSafe for ReactConfig
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