Enum FTMLTag
pub enum FTMLTag {
Show 119 variants
Section,
Definition,
Assertion,
Example,
Paragraph,
Problem,
SubProblem,
Slide,
SlideNumber,
Module,
MathStructure,
Morphism,
Proof,
SubProof,
Style,
Counter,
CounterParent,
DocTitle,
Title,
ProofTitle,
SubproofTitle,
Symdecl,
Vardef,
Varseq,
Notation,
NotationComp,
NotationOpComp,
Definiendum,
Type,
Conclusion,
Definiens,
Rule,
ArgSep,
ArgMap,
ArgMapSep,
Term,
Arg,
HeadTerm,
ImportModule,
UseModule,
InputRef,
SetSectionLevel,
SkipSection,
ProofMethod,
ProofSketch,
ProofTerm,
ProofBody,
ProofAssumption,
ProofStep,
ProofStepName,
ProofEqStep,
ProofPremise,
ProofConclusion,
PreconditionDimension,
PreconditionSymbol,
ObjectiveDimension,
ObjectiveSymbol,
AnswerClass,
AnswerClassPts,
AnswerclassFeedback,
ProblemMinutes,
ProblemMultipleChoiceBlock,
ProblemSingleChoiceBlock,
ProblemChoice,
ProblemChoiceVerdict,
ProblemChoiceFeedback,
ProblemFillinsol,
ProblemFillinsolWidth,
ProblemFillinsolCase,
ProblemFillinsolCaseValue,
ProblemFillinsolCaseVerdict,
ProblemSolution,
ProblemHint,
ProblemNote,
ProblemGradingNote,
Comp,
VarComp,
MainComp,
DefComp,
Invisible,
IfInputref,
ReturnType,
ArgTypes,
SRef,
SRefIn,
Slideshow,
SlideshowSlide,
CurrentSectionLevel,
Capitalize,
Assign,
Rename,
RenameTo,
AssignMorphismFrom,
AssignMorphismTo,
AssocType,
ArgumentReordering,
ArgNum,
Bind,
MorphismDomain,
MorphismTotal,
ArgMode,
NotationId,
Head,
Language,
Metatheory,
Signature,
Args,
ProblemPoints,
Autogradable,
ProofHide,
Macroname,
Inline,
Fors,
Id,
NotationFragment,
Precedence,
Role,
Styles,
Argprecs,
}
Variantsยง
Section
data-ftml-section="
<[SectionLevel]>"
Additional attributes: Id,
Not allowed in [LogicalParagraph]s, [Problem]s or [Slide]s
Denotes a new [Section]. The given [SectionLevel] is only a sanity check; the actual level is determined by the occurrence within a [Document].
Definition
Child nodes: Definiens, Definiendum,
Denotes a new [LogicalParagraph] of [ParagraphKind::Definition] for the given [Symbol]s using the given styles.
Assertion
Denotes a new [LogicalParagraph] of [ParagraphKind::Assertion] (Theorems, Lemmata, Axioms, etc.) for the given [Symbol]s using the given styles.
Example
Denotes a new [LogicalParagraph] of [ParagraphKind::Example] (this includes counterexamples) for the given [Symbol]s using the given styles.
Paragraph
Denotes a new [LogicalParagraph] of [ParagraphKind::Paragraph] for the given [Symbol]s using the given styles.
Problem
data-ftml-problem
Additional attributes: Id, Styles, Autogradable, ProblemPoints,
Denotes a new [Problem] with sub_problem
=false
SubProblem
data-ftml-subproblem
Additional attributes: Id, Styles, Autogradable, ProblemPoints,
Denotes a new [Problem] with sub_problem
=true
Slide
data-ftml-slide
Additional attributes: Id,
Not allowed in [LogicalParagraph]s, [Problem]s or [Slide]s
Denotes a [Slide], implying that the [Document] is (or contains in some sense) a presentation.
SlideNumber
data-ftml-slide-number
Only allowed in [Slide]s
A (possibly empty) node that, when being rendered, should be replaced by the current slide number.
Module
data-ftml-module="
<String>"
Additional attributes: Metatheory, Signature,
Denotes a new [Module] (or [NestedModule]) with the given [Name] in the current Namespace.
MathStructure
Only allowed in [Module]s
Denotes a new [MathStructure] or [Extension] with the given [Name].
Morphism
data-ftml-feature-morphism
Proof
SubProof
Style
data-ftml-style
Counter
data-ftml-counter
CounterParent
data-ftml-counter-parent
DocTitle
data-ftml-doctitle
Title
data-ftml-title
ProofTitle
data-ftml-prooftitle
SubproofTitle
data-ftml-subprooftitle
Symdecl
data-ftml-symdecl
Vardef
data-ftml-vardef
Varseq
data-ftml-varseq
Notation
data-ftml-notation
NotationComp
data-ftml-notationcomp
NotationOpComp
data-ftml-notationopcomp
Definiendum
data-ftml-definiendum
Only allowed in: Definition, Paragraph, Assertion,
Type
data-ftml-type
Conclusion
data-ftml-conclusion
Definiens
data-ftml-definiens
Only allowed in: Definition, Paragraph, Assertion,
Rule
data-ftml-rule
ArgSep
data-ftml-argsep
ArgMap
data-ftml-argmap
ArgMapSep
data-ftml-argmap-sep
Term
data-ftml-term
Arg
data-ftml-arg
HeadTerm
data-ftml-headterm
ImportModule
data-ftml-import
UseModule
data-ftml-usemodule
InputRef
data-ftml-inputref
SetSectionLevel
data-ftml-sectionlevel
SkipSection
data-ftml-skipsection
ProofMethod
data-ftml-proofmethod
ProofSketch
data-ftml-proofsketch
ProofTerm
data-ftml-proofterm
ProofBody
data-ftml-proofbody
ProofAssumption
data-ftml-spfassumption
ProofStep
data-ftml-spfstep
ProofStepName
data-ftml-stepname
ProofEqStep
data-ftml-spfeqstep
ProofPremise
data-ftml-premise
ProofConclusion
data-ftml-spfconclusion
PreconditionDimension
data-ftml-preconditiondimension
PreconditionSymbol
data-ftml-preconditionsymbol
ObjectiveDimension
data-ftml-objectivedimension
ObjectiveSymbol
data-ftml-objectivesymbol
AnswerClass
data-ftml-answerclass
AnswerClassPts
data-ftml-answerclass-pts
AnswerclassFeedback
data-ftml-answerclass-feedback
ProblemMinutes
data-ftml-problemminutes
ProblemMultipleChoiceBlock
data-ftml-multiple-choice-block
ProblemSingleChoiceBlock
data-ftml-single-choice-block
ProblemChoice
data-ftml-problem-choice
ProblemChoiceVerdict
data-ftml-problem-choice-verdict
ProblemChoiceFeedback
data-ftml-problem-choice-feedback
ProblemFillinsol
data-ftml-fillinsol
ProblemFillinsolWidth
data-ftml-fillinsol-width
ProblemFillinsolCase
data-ftml-fillin-case
ProblemFillinsolCaseValue
data-ftml-fillin-case-value
ProblemFillinsolCaseVerdict
data-ftml-fillin-case-verdict
ProblemSolution
data-ftml-solution
ProblemHint
data-ftml-problemhint
ProblemNote
data-ftml-problemnote
ProblemGradingNote
data-ftml-problemgnote
Comp
data-ftml-comp
VarComp
data-ftml-varcomp
MainComp
data-ftml-maincomp
DefComp
data-ftml-defcomp
Invisible
data-ftml-invisible
IfInputref
data-ftml-ifinputref
ReturnType
data-ftml-returntype
ArgTypes
data-ftml-argtypes
SRef
data-ftml-sref
SRefIn
data-ftml-srefin
Slideshow
data-ftml-slideshow
SlideshowSlide
data-ftml-slideshow-slide
CurrentSectionLevel
data-ftml-currentsectionlevel
Capitalize
data-ftml-capitalize
Assign
data-ftml-assign
Rename
data-ftml-rename
RenameTo
data-ftml-to
AssignMorphismFrom
data-ftml-assignmorphismfrom
AssignMorphismTo
data-ftml-assignmorphismto
AssocType
data-ftml-assoctype
ArgumentReordering
data-ftml-reorderargs
ArgNum
data-ftml-argnum
Bind
data-ftml-bind
MorphismDomain
data-ftml-domain
MorphismTotal
data-ftml-total
ArgMode
data-ftml-argmode
NotationId
data-ftml-notationid
Head
data-ftml-head
Language
data-ftml-language
Metatheory
data-ftml-metatheory
Attribute of: Module,
The metatheory of a module, that provides the formal โlanguageโ the module is in
Signature
data-ftml-signature
Attribute of: Module,
Args
data-ftml-args
ProblemPoints
data-ftml-problempoints
Attribute of: Problem, SubProblem,
Autogradable
data-ftml-autogradable
Attribute of: Problem, SubProblem,
ProofHide
Macroname
data-ftml-macroname
Attribute of: MathStructure,
Inline
data-ftml-inline
Attribute of: Definition, Paragraph, Assertion, Example, Problem, SubProblem,
Fors
Id
data-ftml-id
Attribute of: Section, Definition, Paragraph, Assertion, Example, Proof, SubProof, Problem, SubProblem, Slide,
NotationFragment
data-ftml-notationfragment
Precedence
data-ftml-precedence
Role
data-ftml-role
Styles
data-ftml-styles
Argprecs
data-ftml-argprecs
Implementationsยง
Trait Implementationsยง
impl Copy for FTMLKey
impl Eq for FTMLKey
impl StructuralPartialEq for FTMLKey
Auto Trait Implementationsยง
impl Freeze for FTMLKey
impl RefUnwindSafe for FTMLKey
impl Send for FTMLKey
impl Sync for FTMLKey
impl Unpin for FTMLKey
impl UnwindSafe for FTMLKey
Blanket Implementationsยง
ยงimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
ยงtype ArchivedMetadata = ()
type ArchivedMetadata = ()
ยงfn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
ยงimpl<T> CallHasher for T
impl<T> CallHasher for T
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
ยงimpl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
ยงfn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
ยงimpl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
ยงfn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
, which can then be
downcast
into Box<dyn ConcreteType>
where ConcreteType
implements Trait
.ยงfn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
, which can then be further
downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.ยงfn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
โs vtable from &Trait
โs.ยงfn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
โs vtable from &mut Trait
โs.ยงimpl<T> DowncastSend for T
impl<T> DowncastSend for T
ยงimpl<T> DowncastSync for T
impl<T> DowncastSync for T
ยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
ยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
ยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
ยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.ยงimpl<T> Instrument for T
impl<T> Instrument for T
ยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
ยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more