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

data-ftml-definition

Additional attributes: Id, Inline, Fors, Styles,

Child nodes: Definiens, Definiendum,

Denotes a new [LogicalParagraph] of [ParagraphKind::Definition] for the given [Symbol]s using the given styles.

ยง

Assertion

data-ftml-assertion

Additional attributes: Id, Inline, Fors, Styles,

Denotes a new [LogicalParagraph] of [ParagraphKind::Assertion] (Theorems, Lemmata, Axioms, etc.) for the given [Symbol]s using the given styles.

ยง

Example

data-ftml-example

Additional attributes: Id, Inline, Fors, Styles,

Denotes a new [LogicalParagraph] of [ParagraphKind::Example] (this includes counterexamples) for the given [Symbol]s using the given styles.

ยง

Paragraph

data-ftml-paragraph

Additional attributes: Id, Inline, Fors, Styles,

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

data-ftml-feature-structure="<String>"

Additional attributes: Macroname,

Only allowed in [Module]s

Denotes a new [MathStructure] or [Extension] with the given [Name].

ยง

Morphism

data-ftml-feature-morphism

TODO
ยง

Proof

data-ftml-proof

Additional attributes: Id, Inline, Fors, Styles, ProofHide,

ยง

SubProof

data-ftml-subproof

Additional attributes: Id, Inline, Fors, Styles, ProofHide,

ยง

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

data-ftml-proofhide

Attribute of: Proof, SubProof,

ยง

Macroname

data-ftml-macroname

Attribute of: MathStructure,

ยง

Inline

data-ftml-inline

Attribute of: Definition, Paragraph, Assertion, Example, Problem, SubProblem,

ยง

Fors

data-ftml-fors

Attribute of: Definition, Paragraph, Assertion, Example, Proof, SubProof,

ยง

Id

ยง

NotationFragment

data-ftml-notationfragment

ยง

Precedence

data-ftml-precedence

ยง

Role

data-ftml-role

ยง

Styles

data-ftml-styles

ยง

Argprecs

data-ftml-argprecs

Implementationsยง

ยง

impl FTMLKey

pub const fn as_str(self) -> &'static str

pub const fn attr_name(self) -> &'static str

Trait Implementationsยง

ยง

impl Clone for FTMLKey

ยง

fn clone(&self) -> FTMLKey

Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
ยง

impl Debug for FTMLKey

ยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
ยง

impl Display for FTMLKey

ยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
ยง

impl Hash for FTMLKey

ยง

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 ยท Sourceยง

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
ยง

impl PartialEq for FTMLKey

ยง

fn eq(&self, other: &FTMLKey) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl Copy for FTMLKey

ยง

impl Eq for FTMLKey

ยง

impl StructuralPartialEq for FTMLKey

Auto Trait Implementationsยง

Blanket Implementationsยง

Sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

Sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
ยง

impl<T> ArchivePointee for T

ยง

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
ยง

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
Sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

Sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

Sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
ยง

impl<T> CallHasher for T
where T: Hash + ?Sized,

ยง

default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64
where H: Hash + ?Sized, B: BuildHasher,

Sourceยง

impl<T> CloneToUninit for T
where T: Clone,

Sourceยง

unsafe fn clone_to_uninit(&self, dest: *mut u8)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
ยง

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,

ยง

fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
ยง

impl<T> Downcast for T
where T: Any,

ยง

fn into_any(self: Box<T>) -> Box<dyn Any>

Converts 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>

Converts 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)

Converts &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)

Converts &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
where T: Any + Send,

ยง

fn into_any_send(self: Box<T>) -> Box<dyn Any + Send>

Converts Box<Trait> (where Trait: DowncastSend) to Box<dyn Any + Send>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
ยง

impl<T> DowncastSync for T
where T: Any + Send + Sync,

ยง

fn into_any_sync(self: Box<T>) -> Box<dyn Any + Send + Sync>

Converts Box<Trait> (where Trait: DowncastSync) to Box<dyn Any + Send + Sync>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
ยง

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Converts Arc<Trait> (where Trait: DowncastSync) to Arc<Any>, which can then be downcast into Arc<ConcreteType> where ConcreteType implements Trait.
ยง

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

ยง

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
ยง

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

ยง

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Sourceยง

impl<T> From<T> for T

Sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

ยง

impl<T> Instrument for T

ยง

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
ยง

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

Sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Sourceยง

impl<T> IntoEither for T

Sourceยง

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Sourceยง

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
ยง

impl<T> Pointable for T

ยง

const ALIGN: usize

The alignment of pointer.
ยง

type Init = T

The type for initializers.
ยง

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
ยง

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
ยง

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
ยง

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
ยง

impl<T> Pointee for T

ยง

type Metadata = ()

The type for metadata in pointers and references to Self.
Sourceยง

impl<T> ToOwned for T
where T: Clone,

Sourceยง

type Owned = T

The resulting type after obtaining ownership.
Sourceยง

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Sourceยง

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Sourceยง

impl<T> ToString for T
where T: Display + ?Sized,

Sourceยง

fn to_string(&self) -> String

Converts the given value to a String. Read more
Sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Sourceยง

type Error = Infallible

The type returned in the event of a conversion error.
Sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Sourceยง

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
ยง

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

ยง

fn vzip(self) -> V

ยง

impl<T> WithSubscriber for T

ยง

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
ยง

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
ยง

impl<T> ErasedDestructor for T
where T: 'static,

ยง

impl<T> Fruit for T
where T: Send + Downcast,