pub struct ProjectedModule {
pub package: &'static str,
pub dts_filename: &'static str,
pub specifier: &'static str,
pub subpath: &'static str,
pub required: bool,
}Expand description
One editor-types module projected by cargo superui install.
Fields§
§package: &'static strcargo-metadata package that ships the canonical .d.ts.
dts_filename: &'static strCanonical .d.ts filename beside that package’s Cargo.toml.
specifier: &'static strtsconfig paths key / import specifier.
subpath: &'static strLocation under superui_modules/ (also the tsconfig marker tail).
required: boolAbsence of a required module’s package is a hard error; optional is a skip.
Implementations§
Auto Trait Implementations§
impl Freeze for ProjectedModule
impl RefUnwindSafe for ProjectedModule
impl Send for ProjectedModule
impl Sync for ProjectedModule
impl Unpin for ProjectedModule
impl UnsafeUnpin for ProjectedModule
impl UnwindSafe for ProjectedModule
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