pub struct FileEngine { /* private fields */ }Expand description
File viewer engine. Owns one instance of each delegate engine and dispatches by extension.
Implementations§
Source§impl FileEngine
impl FileEngine
Trait Implementations§
Source§impl Default for FileEngine
impl Default for FileEngine
Source§impl Engine for FileEngine
impl Engine for FileEngine
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 FileEngine
impl RefUnwindSafe for FileEngine
impl Send for FileEngine
impl Sync for FileEngine
impl Unpin for FileEngine
impl UnsafeUnpin for FileEngine
impl UnwindSafe for FileEngine
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