Struct preserves_schema::compiler::types::TypePlugin
source · pub struct TypePlugin;
Trait Implementations§
source§impl Debug for TypePlugin
impl Debug for TypePlugin
source§impl Plugin for TypePlugin
impl Plugin for TypePlugin
source§fn generate_module(&self, m: &mut ModuleContext<'_, '_>)
fn generate_module(&self, m: &mut ModuleContext<'_, '_>)
Use
_module_ctxt
to emit code at a per-module level.source§fn generate_definition(
&self,
m: &mut ModuleContext<'_, '_>,
n: &str,
d: &Definition
)
fn generate_definition( &self, m: &mut ModuleContext<'_, '_>, n: &str, d: &Definition )
Use
module_ctxt
to emit code at a per-Schema-Definition level.Auto Trait Implementations§
impl RefUnwindSafe for TypePlugin
impl Send for TypePlugin
impl Sync for TypePlugin
impl Unpin for TypePlugin
impl UnwindSafe for TypePlugin
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