Struct tauri_codegen::ContextData
source · pub struct ContextData {
pub dev: bool,
pub config: Config,
pub config_parent: PathBuf,
pub root: TokenStream,
}
Expand description
Necessary data needed by context_codegen
to generate code for a Tauri application context.
Fields§
§dev: bool
§config: Config
§config_parent: PathBuf
§root: TokenStream
Auto Trait Implementations§
impl Freeze for ContextData
impl RefUnwindSafe for ContextData
impl !Send for ContextData
impl !Sync for ContextData
impl Unpin for ContextData
impl UnwindSafe for ContextData
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