pub trait Hooks {
// Provided method
fn parsed_property(
&mut self,
_ctx: &mut ParserHooksContext<'_>,
_p: &mut Property,
) { ... }
}Expand description
A list of hooks that can be implemented.
Provided Methods§
Sourcefn parsed_property(
&mut self,
_ctx: &mut ParserHooksContext<'_>,
_p: &mut Property,
)
fn parsed_property( &mut self, _ctx: &mut ParserHooksContext<'_>, _p: &mut Property, )
Trigger once whenever a property has been parsed.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Hooks for CParserHooks
Available on crate feature
ffi only.