pub struct Options {
pub kind: ComponentKind,
pub js: bool,
pub css: bool,
pub test: bool,
pub base: Option<PathBuf>,
}Expand description
What the generator should write.
Fields§
§kind: ComponentKindThe component kind to write.
js: boolWhether to write a .js module.
css: boolWhether to write a .css module.
test: boolWhether to write a test file.
base: Option<PathBuf>The directory to write into, or None for the application’s.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Optionswhere
RawVecInner: Send,
impl Sync for Optionswhere
RawVecInner: Sync,
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Optionswhere
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