pub struct NexEngine { /* private fields */ }Expand description
Nex protocol body engine.
Implementations§
Trait Implementations§
Source§impl Engine for NexEngine
impl Engine for NexEngine
Source§fn engine_id(&self) -> &str
fn engine_id(&self) -> &str
Stable engine identifier. Must match the
engine_id field of the
EngineRouteDecision that selected this engine.Source§fn render(&self, input: &EngineInput) -> Result<EngineDocument, EngineError>
fn render(&self, input: &EngineInput) -> Result<EngineDocument, EngineError>
Parse raw content into a portable document.
Source§fn a11y_capability(&self) -> A11yCapability
fn a11y_capability(&self) -> A11yCapability
This engine’s accessibility capability (see
crate::a11y). Document
engines default to A11yCapability::Full — their EngineDocument
blocks are the semantic tree. Override to declare degradation (an
engine that drops structure must not claim Full).Auto Trait Implementations§
impl Freeze for NexEngine
impl RefUnwindSafe for NexEngine
impl Send for NexEngine
impl Sync for NexEngine
impl Unpin for NexEngine
impl UnsafeUnpin for NexEngine
impl UnwindSafe for NexEngine
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