pub struct ComponentProcessing {
pub source_transform: Option<ComponentSourceTransform>,
pub process_root_template_attributes: bool,
pub inline_styles_after_content: bool,
}Expand description
Static component-processing behavior for a parser plugin.
The parser reads this once during construction and keeps it on the direct path, avoiding repeated virtual calls while compiling component templates.
Fields§
§source_transform: Option<ComponentSourceTransform>Optional build-time source transformation.
process_root_template_attributes: boolKeep root-template runtime attributes for ParserPlugin::process_attribute.
inline_styles_after_content: boolPlace inline component styles after template content.
Trait Implementations§
Source§impl Clone for ComponentProcessing
impl Clone for ComponentProcessing
Source§fn clone(&self) -> ComponentProcessing
fn clone(&self) -> ComponentProcessing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ComponentProcessing
Source§impl Debug for ComponentProcessing
impl Debug for ComponentProcessing
Source§impl Default for ComponentProcessing
impl Default for ComponentProcessing
Source§fn default() -> ComponentProcessing
fn default() -> ComponentProcessing
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComponentProcessing
impl RefUnwindSafe for ComponentProcessing
impl Send for ComponentProcessing
impl Sync for ComponentProcessing
impl Unpin for ComponentProcessing
impl UnsafeUnpin for ComponentProcessing
impl UnwindSafe for ComponentProcessing
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