pub struct GenerationTargetSupport {
pub emit: &'static str,
pub display_name: &'static str,
pub output_relative_path: &'static str,
pub preview_label: &'static str,
pub preview_language_id: &'static str,
}Expand description
Static metadata for one generation/emit target (Zephyr conf, DTS overlay, etc.).
Fields§
§emit: &'static strEmit-mode key (e.g. zephyr-conf); the stable identifier used for lookup.
display_name: &'static strHuman-readable name shown in UI.
output_relative_path: &'static strOutput path relative to the workspace root.
preview_label: &'static strLabel for a preview pane of the generated output.
preview_language_id: &'static strEditor/VS Code language id for syntax-highlighting the preview.
Auto Trait Implementations§
impl Freeze for GenerationTargetSupport
impl RefUnwindSafe for GenerationTargetSupport
impl Send for GenerationTargetSupport
impl Sync for GenerationTargetSupport
impl Unpin for GenerationTargetSupport
impl UnsafeUnpin for GenerationTargetSupport
impl UnwindSafe for GenerationTargetSupport
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