Struct cairo_lang_defs::plugin::PluginGeneratedFile
source · pub struct PluginGeneratedFile {
pub name: SmolStr,
pub content: String,
pub aux_data: DynGeneratedFileAuxData,
}
Expand description
Virtual code file generated by a plugin.
Fields§
§name: SmolStr
Name for the virtual file. Will appear in diagnostics.
content: String
Code content for the file.
aux_data: DynGeneratedFileAuxData
A diagnostics mapper, to allow more readable diagnostics that originate in plugin generated virtual files.
Auto Trait Implementations§
impl !RefUnwindSafe for PluginGeneratedFile
impl Send for PluginGeneratedFile
impl Sync for PluginGeneratedFile
impl Unpin for PluginGeneratedFile
impl !UnwindSafe for PluginGeneratedFile
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