pub struct DefaultPlugin;Trait Implementations§
Source§impl KorokPlugin for DefaultPlugin
impl KorokPlugin for DefaultPlugin
fn on_fields_set(&self, visitable: &mut dyn KorokVisitable) -> CodamaResult<()>
fn on_program_items_set( &self, visitable: &mut dyn KorokVisitable, ) -> CodamaResult<()>
fn on_root_node_set( &self, visitable: &mut dyn KorokVisitable, ) -> CodamaResult<()>
Source§fn resolve_type_directive(
&self,
_directive: &ResolvableDirective,
_resolver: &dyn DirectiveResolver,
) -> Option<CodamaResult<RegisteredTypeNode>>
fn resolve_type_directive( &self, _directive: &ResolvableDirective, _resolver: &dyn DirectiveResolver, ) -> Option<CodamaResult<RegisteredTypeNode>>
Try to resolve a resolvable type directive belonging to this plugin.
Returns
None if this plugin does not handle the given directive.Source§fn resolve_value_directive(
&self,
_directive: &ResolvableDirective,
_resolver: &dyn DirectiveResolver,
) -> Option<CodamaResult<InstructionInputValueNode>>
fn resolve_value_directive( &self, _directive: &ResolvableDirective, _resolver: &dyn DirectiveResolver, ) -> Option<CodamaResult<InstructionInputValueNode>>
Try to resolve a resolvable value directive belonging to this plugin.
Returns
None if this plugin does not handle the given directive.fn on_initialized( &self, _visitable: &mut dyn KorokVisitable, ) -> CodamaResult<()>
Auto Trait Implementations§
impl Freeze for DefaultPlugin
impl RefUnwindSafe for DefaultPlugin
impl Send for DefaultPlugin
impl Sync for DefaultPlugin
impl Unpin for DefaultPlugin
impl UnsafeUnpin for DefaultPlugin
impl UnwindSafe for DefaultPlugin
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