pub enum RenderIssue {
UnsupportedCommand {
name: String,
span: SourceSpan,
},
MissingPackage {
name: String,
package: &'static str,
span: SourceSpan,
},
UnsupportedEnvironment {
name: String,
span: SourceSpan,
},
MissingPackageEnv {
name: String,
package: &'static str,
span: SourceSpan,
},
MathCommandInTextMode {
name: String,
span: SourceSpan,
},
}Expand description
One compatibility issue found in a math body. Spans are byte ranges into
the math-body source given to check_math_body.
Variants§
UnsupportedCommand
A command the renderer does not ship in any package the profile knows.
Fields
span: SourceSpanByte range covering the command token.
MissingPackage
A command the renderer can render, but only with a package that this
profile does not load. Suggest the package name in package.
Fields
span: SourceSpanByte range covering the command token.
UnsupportedEnvironment
An environment the renderer does not ship in any package the profile knows.
Fields
span: SourceSpanByte range covering \begin{name} through the closing brace.
MissingPackageEnv
An environment that requires a package this profile does not load.
Fields
span: SourceSpanByte range covering \begin{name} through the closing brace.
MathCommandInTextMode
A math-mode command used inside a \text{...} region, where the
renderer will treat it as plain text rather than rendering it.
Fields
span: SourceSpanByte range covering the command token.
Trait Implementations§
Source§impl Clone for RenderIssue
impl Clone for RenderIssue
Source§fn clone(&self) -> RenderIssue
fn clone(&self) -> RenderIssue
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RenderIssue
impl Debug for RenderIssue
Source§impl PartialEq for RenderIssue
impl PartialEq for RenderIssue
Source§fn eq(&self, other: &RenderIssue) -> bool
fn eq(&self, other: &RenderIssue) -> bool
self and other values to be equal, and is used by ==.