Struct cairo_lang_starknet::plugin::StarkNetPlugin
source · #[non_exhaustive]pub struct StarkNetPlugin;
Trait Implementations§
source§impl Debug for StarkNetPlugin
impl Debug for StarkNetPlugin
source§impl Default for StarkNetPlugin
impl Default for StarkNetPlugin
source§fn default() -> StarkNetPlugin
fn default() -> StarkNetPlugin
Returns the “default value” for a type. Read more
source§impl MacroPlugin for StarkNetPlugin
impl MacroPlugin for StarkNetPlugin
source§fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: Item) -> PluginResult
fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: Item) -> PluginResult
Generates code for an item. If no code should be generated returns None.
Otherwise, returns (virtual_module_name, module_content), and a virtual submodule
with that name and content should be created.
Auto Trait Implementations§
impl RefUnwindSafe for StarkNetPlugin
impl Send for StarkNetPlugin
impl Sync for StarkNetPlugin
impl Unpin for StarkNetPlugin
impl UnwindSafe for StarkNetPlugin
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