pub enum STeXToken<Pos: StringPosition> {
Show 37 variants
ImportModule {
archive_range: Option<StringRange<Pos>>,
path_range: StringRange<Pos>,
module: ModuleReference,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
},
UseModule {
archive_range: Option<StringRange<Pos>>,
path_range: StringRange<Pos>,
module: ModuleReference,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
},
UseStructure {
structure: SymbolReference<Pos>,
structure_range: StringRange<Pos>,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
},
SetMetatheory {
archive_range: Option<StringRange<Pos>>,
path_range: StringRange<Pos>,
module: ModuleReference,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
},
Inputref {
archive: Option<(ArchiveId, StringRange<Pos>)>,
filepath: (Arc<str>, StringRange<Pos>),
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
},
SRef {
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
opt_args: Vec<SRefOptsA<Pos, Self>>,
label_range: StringRange<Pos>,
in_opt_args: Vec<SRefOptsB<Pos, Self>>,
target: DocumentElementUri,
target_path: Arc<Path>,
in_doc: Option<(DocumentUri, Arc<Path>)>,
},
IncludeProblem {
filepath: (Arc<str>, StringRange<Pos>),
archive: Option<(ArchiveId, StringRange<Pos>)>,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
args: Vec<IncludeProblemArg<Pos>>,
},
MHGraphics {
filepath: (Arc<str>, StringRange<Pos>),
archive: Option<(ArchiveId, StringRange<Pos>)>,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
args: Vec<MHGraphicsArg<Pos>>,
},
MHInput {
archive: Option<(ArchiveId, StringRange<Pos>)>,
filepath: (Arc<str>, StringRange<Pos>),
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
},
Module {
uri: ModuleUri,
rules: ModuleRules<Pos>,
name_range: StringRange<Pos>,
opts: Vec<SModuleArg<Pos, Self>>,
sig: Option<Language>,
meta_theory: Option<ModuleReference>,
full_range: StringRange<Pos>,
children: Vec<Self>,
smodule_range: StringRange<Pos>,
},
MathStructure {
uri: SymbolReference<Pos>,
extends: Vec<(SymbolReference<Pos>, StringRange<Pos>)>,
name_range: StringRange<Pos>,
opts: Vec<MathStructureArg<Pos, Self>>,
full_range: StringRange<Pos>,
children: Vec<Self>,
mathstructure_range: StringRange<Pos>,
},
ConservativeExt {
uri: SymbolReference<Pos>,
ext_range: StringRange<Pos>,
full_range: StringRange<Pos>,
children: Vec<Self>,
extstructure_range: StringRange<Pos>,
},
MorphismEnv {
full_range: StringRange<Pos>,
env_range: StringRange<Pos>,
name_range: StringRange<Pos>,
uri: SymbolUri,
star: bool,
domain: ModuleOrStruct<Pos>,
domain_range: StringRange<Pos>,
kind: MorphismKind,
children: Vec<Self>,
},
InlineMorphism {
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
name_range: StringRange<Pos>,
uri: SymbolUri,
star: bool,
domain: ModuleOrStruct<Pos>,
domain_range: StringRange<Pos>,
kind: MorphismKind,
assignments: Vec<InlineMorphAssign<Pos, Self>>,
},
Paragraph {
kind: ParagraphKind,
full_range: StringRange<Pos>,
name_range: StringRange<Pos>,
symbol: Option<SymbolReference<Pos>>,
parsed_args: Vec<ParagraphArg<Pos, Self>>,
children: Vec<Self>,
},
Problem {
sub: bool,
full_range: StringRange<Pos>,
name_range: StringRange<Pos>,
parsed_args: Vec<ProblemArg<Pos, Self>>,
children: Vec<Self>,
},
InlineParagraph {
kind: ParagraphKind,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
symbol: Option<SymbolReference<Pos>>,
parsed_args: Vec<ParagraphArg<Pos, Self>>,
children: Vec<Self>,
children_range: StringRange<Pos>,
},
Symdecl {
uri: SymbolReference<Pos>,
main_name_range: StringRange<Pos>,
full_range: StringRange<Pos>,
parsed_args: Vec<SymdeclArg<Pos, Self>>,
token_range: StringRange<Pos>,
starred: bool,
},
TextSymdecl {
uri: SymbolReference<Pos>,
main_name_range: StringRange<Pos>,
full_range: StringRange<Pos>,
parsed_args: Vec<TextSymdeclArg<Pos, Self>>,
token_range: StringRange<Pos>,
},
Notation {
uri: SmallVec<SymbolReference<Pos>, 1>,
token_range: StringRange<Pos>,
name_range: StringRange<Pos>,
notation_args: Vec<NotationArg<Pos, Self>>,
full_range: StringRange<Pos>,
},
RenameDecl {
uri: SymbolReference<Pos>,
token_range: StringRange<Pos>,
orig_range: StringRange<Pos>,
name_range: Option<StringRange<Pos>>,
macroname_range: StringRange<Pos>,
full_range: StringRange<Pos>,
},
Assign {
uri: SymbolReference<Pos>,
token_range: StringRange<Pos>,
orig_range: StringRange<Pos>,
full_range: StringRange<Pos>,
},
Symdef {
uri: SymbolReference<Pos>,
main_name_range: StringRange<Pos>,
full_range: StringRange<Pos>,
parsed_args: Vec<SymdefArg<Pos, Self>>,
token_range: StringRange<Pos>,
},
Vardef {
name: UriName,
main_name_range: StringRange<Pos>,
full_range: StringRange<Pos>,
parsed_args: Vec<VardefArg<Pos, Self>>,
token_range: StringRange<Pos>,
},
Varseq {
name: UriName,
main_name_range: StringRange<Pos>,
full_range: StringRange<Pos>,
parsed_args: Vec<VardefArg<Pos, Self>>,
token_range: StringRange<Pos>,
},
SemanticMacro {
uri: SymbolReference<Pos>,
argnum: u8,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
},
VariableMacro {
name: UriName,
orig: StringRange<Pos>,
argnum: u8,
sequence: bool,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
},
SymName {
uri: SmallVec<SymbolReference<Pos>, 1>,
is_def: bool,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
name_range: StringRange<Pos>,
mode: SymnameMode<Pos>,
},
Symuse {
uri: SmallVec<SymbolReference<Pos>, 1>,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
name_range: StringRange<Pos>,
},
Definiens {
uri: SmallVec<SymbolReference<Pos>, 1>,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
name_range: Option<StringRange<Pos>>,
},
Defnotation {
full_range: StringRange<Pos>,
},
Svar {
name: UriName,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
name_range: Option<StringRange<Pos>>,
arg_range: StringRange<Pos>,
},
Symref {
uri: SmallVec<SymbolReference<Pos>, 1>,
is_def: bool,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
name_range: StringRange<Pos>,
text: (StringRange<Pos>, Vec<Self>),
},
Precondition {
uri: SmallVec<SymbolReference<Pos>, 1>,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
dim_range: StringRange<Pos>,
symbol_range: StringRange<Pos>,
dim: CognitiveDimension,
},
Objective {
uri: SmallVec<SymbolReference<Pos>, 1>,
full_range: StringRange<Pos>,
token_range: StringRange<Pos>,
dim_range: StringRange<Pos>,
symbol_range: StringRange<Pos>,
dim: CognitiveDimension,
},
SnifySuggestion {
range: StringRange<Pos>,
symbols: SmallVec<(SymbolUri, bool), 1>,
},
Vec(Vec<Self>),
}Variantsยง
ImportModule
Fields
ยง
archive_range: Option<StringRange<Pos>>ยง
path_range: StringRange<Pos>ยง
module: ModuleReferenceยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>UseModule
Fields
ยง
archive_range: Option<StringRange<Pos>>ยง
path_range: StringRange<Pos>ยง
module: ModuleReferenceยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>UseStructure
Fields
ยง
structure: SymbolReference<Pos>ยง
structure_range: StringRange<Pos>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>SetMetatheory
Fields
ยง
archive_range: Option<StringRange<Pos>>ยง
path_range: StringRange<Pos>ยง
module: ModuleReferenceยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>Inputref
Fields
ยง
archive: Option<(ArchiveId, StringRange<Pos>)>ยง
filepath: (Arc<str>, StringRange<Pos>)ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>SRef
Fields
ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
label_range: StringRange<Pos>ยง
target: DocumentElementUriIncludeProblem
Fields
ยง
filepath: (Arc<str>, StringRange<Pos>)ยง
archive: Option<(ArchiveId, StringRange<Pos>)>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
args: Vec<IncludeProblemArg<Pos>>MHGraphics
Fields
ยง
filepath: (Arc<str>, StringRange<Pos>)ยง
archive: Option<(ArchiveId, StringRange<Pos>)>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
args: Vec<MHGraphicsArg<Pos>>MHInput
Fields
ยง
archive: Option<(ArchiveId, StringRange<Pos>)>ยง
filepath: (Arc<str>, StringRange<Pos>)ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>Module
Fields
ยง
uri: ModuleUriยง
rules: ModuleRules<Pos>ยง
name_range: StringRange<Pos>ยง
opts: Vec<SModuleArg<Pos, Self>>ยง
meta_theory: Option<ModuleReference>ยง
full_range: StringRange<Pos>ยง
smodule_range: StringRange<Pos>MathStructure
Fields
ยง
uri: SymbolReference<Pos>ยง
extends: Vec<(SymbolReference<Pos>, StringRange<Pos>)>ยง
name_range: StringRange<Pos>ยง
opts: Vec<MathStructureArg<Pos, Self>>ยง
full_range: StringRange<Pos>ยง
mathstructure_range: StringRange<Pos>ConservativeExt
Fields
ยง
uri: SymbolReference<Pos>ยง
ext_range: StringRange<Pos>ยง
full_range: StringRange<Pos>ยง
extstructure_range: StringRange<Pos>MorphismEnv
Fields
ยง
full_range: StringRange<Pos>ยง
env_range: StringRange<Pos>ยง
name_range: StringRange<Pos>ยง
uri: SymbolUriยง
domain: ModuleOrStruct<Pos>ยง
domain_range: StringRange<Pos>ยง
kind: MorphismKindInlineMorphism
Fields
ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
name_range: StringRange<Pos>ยง
uri: SymbolUriยง
domain: ModuleOrStruct<Pos>ยง
domain_range: StringRange<Pos>ยง
kind: MorphismKindยง
assignments: Vec<InlineMorphAssign<Pos, Self>>Paragraph
Fields
ยง
kind: ParagraphKindยง
full_range: StringRange<Pos>ยง
name_range: StringRange<Pos>ยง
symbol: Option<SymbolReference<Pos>>ยง
parsed_args: Vec<ParagraphArg<Pos, Self>>Problem
Fields
ยง
full_range: StringRange<Pos>ยง
name_range: StringRange<Pos>ยง
parsed_args: Vec<ProblemArg<Pos, Self>>InlineParagraph
Fields
ยง
kind: ParagraphKindยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
symbol: Option<SymbolReference<Pos>>ยง
parsed_args: Vec<ParagraphArg<Pos, Self>>ยง
children_range: StringRange<Pos>Symdecl
Fields
ยง
uri: SymbolReference<Pos>ยง
main_name_range: StringRange<Pos>ยง
full_range: StringRange<Pos>ยง
parsed_args: Vec<SymdeclArg<Pos, Self>>ยง
token_range: StringRange<Pos>TextSymdecl
Fields
ยง
uri: SymbolReference<Pos>ยง
main_name_range: StringRange<Pos>ยง
full_range: StringRange<Pos>ยง
parsed_args: Vec<TextSymdeclArg<Pos, Self>>ยง
token_range: StringRange<Pos>Notation
Fields
ยง
uri: SmallVec<SymbolReference<Pos>, 1>ยง
token_range: StringRange<Pos>ยง
name_range: StringRange<Pos>ยง
notation_args: Vec<NotationArg<Pos, Self>>ยง
full_range: StringRange<Pos>RenameDecl
Fields
ยง
uri: SymbolReference<Pos>ยง
token_range: StringRange<Pos>ยง
orig_range: StringRange<Pos>ยง
name_range: Option<StringRange<Pos>>ยง
macroname_range: StringRange<Pos>ยง
full_range: StringRange<Pos>Assign
Fields
ยง
uri: SymbolReference<Pos>ยง
token_range: StringRange<Pos>ยง
orig_range: StringRange<Pos>ยง
full_range: StringRange<Pos>Symdef
Fields
ยง
uri: SymbolReference<Pos>ยง
main_name_range: StringRange<Pos>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>Vardef
Fields
ยง
name: UriNameยง
main_name_range: StringRange<Pos>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>Varseq
Fields
ยง
name: UriNameยง
main_name_range: StringRange<Pos>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>SemanticMacro
VariableMacro
Fields
ยง
name: UriNameยง
orig: StringRange<Pos>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>SymName
Fields
ยง
uri: SmallVec<SymbolReference<Pos>, 1>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
name_range: StringRange<Pos>ยง
mode: SymnameMode<Pos>Symuse
Fields
ยง
uri: SmallVec<SymbolReference<Pos>, 1>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
name_range: StringRange<Pos>Definiens
Fields
ยง
uri: SmallVec<SymbolReference<Pos>, 1>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
name_range: Option<StringRange<Pos>>Defnotation
Fields
ยง
full_range: StringRange<Pos>Svar
Fields
ยง
name: UriNameยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
name_range: Option<StringRange<Pos>>ยง
arg_range: StringRange<Pos>Symref
Fields
ยง
uri: SmallVec<SymbolReference<Pos>, 1>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
name_range: StringRange<Pos>ยง
text: (StringRange<Pos>, Vec<Self>)Precondition
Fields
ยง
uri: SmallVec<SymbolReference<Pos>, 1>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
dim_range: StringRange<Pos>ยง
symbol_range: StringRange<Pos>ยง
dim: CognitiveDimensionObjective
Fields
ยง
uri: SmallVec<SymbolReference<Pos>, 1>ยง
full_range: StringRange<Pos>ยง
token_range: StringRange<Pos>ยง
dim_range: StringRange<Pos>ยง
symbol_range: StringRange<Pos>ยง
dim: CognitiveDimensionSnifySuggestion
Vec(Vec<Self>)
Trait Implementationsยง
Sourceยงimpl<'a, P: StringPosition> FromLaTeXToken<'a, P> for STeXToken<P>
impl<'a, P: StringPosition> FromLaTeXToken<'a, P> for STeXToken<P>
fn from_comment(_: StringRange<P>) -> Option<Self>
fn from_group(_: StringRange<P>, v: Vec<Self>) -> Option<Self>
fn from_math(_: bool, _: StringRange<P>, v: Vec<Self>) -> Option<Self>
fn from_control_sequence(_: P, _: &'a str) -> Option<Self>
fn from_text(_: StringRange<P>, _: &'a str) -> Option<Self>
fn from_macro_application(_: Macro<'a, P>) -> Option<Self>
fn from_environment(e: Environment<'a, P, Self>) -> Option<Self>
Sourceยงimpl<'a, MS: STeXModuleStore, Pos: StringPosition> GroupState<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for STeXGroup<'a, MS, Pos>
impl<'a, MS: STeXModuleStore, Pos: StringPosition> GroupState<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for STeXGroup<'a, MS, Pos>
fn new(parent: Option<&mut Self>) -> Self
fn inner(&self) -> &Group<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>
fn inner_mut( &mut self, ) -> &mut Group<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>
fn close( self, parser: &mut LaTeXParser<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, )
fn add_macro_rule( &mut self, name: Cow<'a, str>, old: Option<AnyMacro<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>>, )
fn add_environment_rule( &mut self, name: Cow<'a, str>, old: Option<AnyEnv<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>>, )
fn letter_change(&mut self, old: &str)
Sourceยงimpl<'a, MS: STeXModuleStore> KeyValKind<'a, LineCol<Utf16Offset>, STeXToken<LineCol<Utf16Offset>>, STeXParseState<'a, LineCol<Utf16Offset>, MS>> for ParagraphArg<LSPLineCol, STeXToken<LSPLineCol>>
impl<'a, MS: STeXModuleStore> KeyValKind<'a, LineCol<Utf16Offset>, STeXToken<LineCol<Utf16Offset>>, STeXParseState<'a, LineCol<Utf16Offset>, MS>> for ParagraphArg<LSPLineCol, STeXToken<LSPLineCol>>
fn next_val( parser: &mut KeyValParser<'a, '_, LSPLineCol, STeXToken<LSPLineCol>, STeXParseState<'a, LSPLineCol, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, MS: STeXModuleStore> KeyValKind<'a, LineCol<Utf16Offset>, STeXToken<LineCol<Utf16Offset>>, STeXParseState<'a, LineCol<Utf16Offset>, MS>> for ProblemArg<LSPLineCol, STeXToken<LSPLineCol>>
impl<'a, MS: STeXModuleStore> KeyValKind<'a, LineCol<Utf16Offset>, STeXToken<LineCol<Utf16Offset>>, STeXParseState<'a, LineCol<Utf16Offset>, MS>> for ProblemArg<LSPLineCol, STeXToken<LSPLineCol>>
fn next_val( parser: &mut KeyValParser<'a, '_, LSPLineCol, STeXToken<LSPLineCol>, STeXParseState<'a, LSPLineCol, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for SRefOptsA<Pos, STeXToken<Pos>>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for SRefOptsA<Pos, STeXToken<Pos>>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for SRefOptsB<Pos, STeXToken<Pos>>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for SRefOptsB<Pos, STeXToken<Pos>>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for IncludeProblemArg<Pos>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for IncludeProblemArg<Pos>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for MHGraphicsArg<Pos>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for MHGraphicsArg<Pos>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for SymdeclArg<Pos, STeXToken<Pos>>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for SymdeclArg<Pos, STeXToken<Pos>>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for TextSymdeclArg<Pos, STeXToken<Pos>>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for TextSymdeclArg<Pos, STeXToken<Pos>>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for NotationArg<Pos, STeXToken<Pos>>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for NotationArg<Pos, STeXToken<Pos>>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for SymdefArg<Pos, STeXToken<Pos>>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for SymdefArg<Pos, STeXToken<Pos>>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for VardefArg<Pos, STeXToken<Pos>>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for VardefArg<Pos, STeXToken<Pos>>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for SModuleArg<Pos, STeXToken<Pos>>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for SModuleArg<Pos, STeXToken<Pos>>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for MathStructureArg<Pos, STeXToken<Pos>>
impl<'a, Pos: StringPosition, MS: STeXModuleStore> KeyValKind<'a, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>> for MathStructureArg<Pos, STeXToken<Pos>>
fn next_val( parser: &mut KeyValParser<'a, '_, Pos, STeXToken<Pos>, STeXParseState<'a, Pos, MS>>, key: &str, ) -> Option<Self>
Sourceยงimpl<'a, MS: STeXModuleStore, Pos: StringPosition> ParserState<'a, Pos, STeXToken<Pos>> for STeXParseState<'a, Pos, MS>
impl<'a, MS: STeXModuleStore, Pos: StringPosition> ParserState<'a, Pos, STeXToken<Pos>> for STeXParseState<'a, Pos, MS>
type Group = STeXGroup<'a, MS, Pos>
type MacroArg = MacroArg<Pos>
fn from_text( &self, r: StringRange<Pos>, text: &'a str, in_document: bool, in_math: bool, groups: &mut Groups<'a, '_, Pos, STeXToken<Pos>, Self>, ) -> Option<STeXToken<Pos>>
fn from_comment(&self, r: StringRange<Pos>) -> Option<T>
fn from_group(&self, r: StringRange<Pos>, children: Vec<T>) -> Option<T>
fn from_math( &self, display: bool, r: StringRange<Pos>, children: Vec<T>, ) -> Option<T>
fn from_control_sequence(&self, start: Pos, name: &'a str) -> Option<T>
fn from_macro_application(&self, m: Macro<'a, Pos>) -> Option<T>
fn from_environment(&self, e: Environment<'a, Pos, T>) -> Option<T>
Auto Trait Implementationsยง
impl<Pos> Freeze for STeXToken<Pos>where
Option<StringRange<Pos>>: Freeze,
StringRange<Pos>: Freeze,
SymbolReference<Pos>: Freeze,
Option<(ArchiveId, StringRange<Pos>)>: Freeze,
(Arc<str>, StringRange<Pos>): Freeze,
Vec<SRefOptsA<Pos, STeXToken<Pos>>>: Freeze,
Vec<SRefOptsB<Pos, STeXToken<Pos>>>: Freeze,
Vec<IncludeProblemArg<Pos>>: Freeze,
Vec<MHGraphicsArg<Pos>>: Freeze,
ModuleRules<Pos>: Freeze,
Vec<SModuleArg<Pos, STeXToken<Pos>>>: Freeze,
Vec<STeXToken<Pos>>: Freeze,
Vec<(SymbolReference<Pos>, StringRange<Pos>)>: Freeze,
Vec<MathStructureArg<Pos, STeXToken<Pos>>>: Freeze,
ModuleOrStruct<Pos>: Freeze,
Vec<InlineMorphAssign<Pos, STeXToken<Pos>>>: Freeze,
Option<SymbolReference<Pos>>: Freeze,
Vec<ParagraphArg<Pos, STeXToken<Pos>>>: Freeze,
Vec<ProblemArg<Pos, STeXToken<Pos>>>: Freeze,
Vec<SymdeclArg<Pos, STeXToken<Pos>>>: Freeze,
Vec<TextSymdeclArg<Pos, STeXToken<Pos>>>: Freeze,
SmallVec<SymbolReference<Pos>, 1>: Freeze,
Vec<NotationArg<Pos, STeXToken<Pos>>>: Freeze,
Vec<SymdefArg<Pos, STeXToken<Pos>>>: Freeze,
Vec<VardefArg<Pos, STeXToken<Pos>>>: Freeze,
SymnameMode<Pos>: Freeze,
(StringRange<Pos>, Vec<STeXToken<Pos>>): Freeze,
impl<Pos> RefUnwindSafe for STeXToken<Pos>where
Option<StringRange<Pos>>: RefUnwindSafe,
StringRange<Pos>: RefUnwindSafe,
SymbolReference<Pos>: RefUnwindSafe,
Option<(ArchiveId, StringRange<Pos>)>: RefUnwindSafe,
(Arc<str>, StringRange<Pos>): RefUnwindSafe,
Vec<SRefOptsA<Pos, STeXToken<Pos>>>: RefUnwindSafe,
Vec<SRefOptsB<Pos, STeXToken<Pos>>>: RefUnwindSafe,
Vec<IncludeProblemArg<Pos>>: RefUnwindSafe,
Vec<MHGraphicsArg<Pos>>: RefUnwindSafe,
ModuleRules<Pos>: RefUnwindSafe,
Vec<SModuleArg<Pos, STeXToken<Pos>>>: RefUnwindSafe,
Vec<STeXToken<Pos>>: RefUnwindSafe,
Vec<(SymbolReference<Pos>, StringRange<Pos>)>: RefUnwindSafe,
Vec<MathStructureArg<Pos, STeXToken<Pos>>>: RefUnwindSafe,
ModuleOrStruct<Pos>: RefUnwindSafe,
Vec<InlineMorphAssign<Pos, STeXToken<Pos>>>: RefUnwindSafe,
Option<SymbolReference<Pos>>: RefUnwindSafe,
Vec<ParagraphArg<Pos, STeXToken<Pos>>>: RefUnwindSafe,
Vec<ProblemArg<Pos, STeXToken<Pos>>>: RefUnwindSafe,
Vec<SymdeclArg<Pos, STeXToken<Pos>>>: RefUnwindSafe,
Vec<TextSymdeclArg<Pos, STeXToken<Pos>>>: RefUnwindSafe,
SmallVec<SymbolReference<Pos>, 1>: RefUnwindSafe,
Vec<NotationArg<Pos, STeXToken<Pos>>>: RefUnwindSafe,
Vec<SymdefArg<Pos, STeXToken<Pos>>>: RefUnwindSafe,
Vec<VardefArg<Pos, STeXToken<Pos>>>: RefUnwindSafe,
SymnameMode<Pos>: RefUnwindSafe,
(StringRange<Pos>, Vec<STeXToken<Pos>>): RefUnwindSafe,
impl<Pos> Send for STeXToken<Pos>where
Option<StringRange<Pos>>: Send,
StringRange<Pos>: Send,
SymbolReference<Pos>: Send,
Option<(ArchiveId, StringRange<Pos>)>: Send,
(Arc<str>, StringRange<Pos>): Send,
Vec<SRefOptsA<Pos, STeXToken<Pos>>>: Send,
Vec<SRefOptsB<Pos, STeXToken<Pos>>>: Send,
Vec<IncludeProblemArg<Pos>>: Send,
Vec<MHGraphicsArg<Pos>>: Send,
ModuleRules<Pos>: Send,
Vec<SModuleArg<Pos, STeXToken<Pos>>>: Send,
Vec<STeXToken<Pos>>: Send,
Vec<(SymbolReference<Pos>, StringRange<Pos>)>: Send,
Vec<MathStructureArg<Pos, STeXToken<Pos>>>: Send,
ModuleOrStruct<Pos>: Send,
Vec<InlineMorphAssign<Pos, STeXToken<Pos>>>: Send,
Option<SymbolReference<Pos>>: Send,
Vec<ParagraphArg<Pos, STeXToken<Pos>>>: Send,
Vec<ProblemArg<Pos, STeXToken<Pos>>>: Send,
Vec<SymdeclArg<Pos, STeXToken<Pos>>>: Send,
Vec<TextSymdeclArg<Pos, STeXToken<Pos>>>: Send,
SmallVec<SymbolReference<Pos>, 1>: Send,
Vec<NotationArg<Pos, STeXToken<Pos>>>: Send,
Vec<SymdefArg<Pos, STeXToken<Pos>>>: Send,
Vec<VardefArg<Pos, STeXToken<Pos>>>: Send,
SymnameMode<Pos>: Send,
(StringRange<Pos>, Vec<STeXToken<Pos>>): Send,
impl<Pos> Sync for STeXToken<Pos>where
Option<StringRange<Pos>>: Sync,
StringRange<Pos>: Sync,
SymbolReference<Pos>: Sync,
Option<(ArchiveId, StringRange<Pos>)>: Sync,
(Arc<str>, StringRange<Pos>): Sync,
Vec<SRefOptsA<Pos, STeXToken<Pos>>>: Sync,
Vec<SRefOptsB<Pos, STeXToken<Pos>>>: Sync,
Vec<IncludeProblemArg<Pos>>: Sync,
Vec<MHGraphicsArg<Pos>>: Sync,
ModuleRules<Pos>: Sync,
Vec<SModuleArg<Pos, STeXToken<Pos>>>: Sync,
Vec<STeXToken<Pos>>: Sync,
Vec<(SymbolReference<Pos>, StringRange<Pos>)>: Sync,
Vec<MathStructureArg<Pos, STeXToken<Pos>>>: Sync,
ModuleOrStruct<Pos>: Sync,
Vec<InlineMorphAssign<Pos, STeXToken<Pos>>>: Sync,
Option<SymbolReference<Pos>>: Sync,
Vec<ParagraphArg<Pos, STeXToken<Pos>>>: Sync,
Vec<ProblemArg<Pos, STeXToken<Pos>>>: Sync,
Vec<SymdeclArg<Pos, STeXToken<Pos>>>: Sync,
Vec<TextSymdeclArg<Pos, STeXToken<Pos>>>: Sync,
SmallVec<SymbolReference<Pos>, 1>: Sync,
Vec<NotationArg<Pos, STeXToken<Pos>>>: Sync,
Vec<SymdefArg<Pos, STeXToken<Pos>>>: Sync,
Vec<VardefArg<Pos, STeXToken<Pos>>>: Sync,
SymnameMode<Pos>: Sync,
(StringRange<Pos>, Vec<STeXToken<Pos>>): Sync,
impl<Pos> Unpin for STeXToken<Pos>where
Option<StringRange<Pos>>: Unpin,
StringRange<Pos>: Unpin,
SymbolReference<Pos>: Unpin,
Option<(ArchiveId, StringRange<Pos>)>: Unpin,
(Arc<str>, StringRange<Pos>): Unpin,
Vec<SRefOptsA<Pos, STeXToken<Pos>>>: Unpin,
Vec<SRefOptsB<Pos, STeXToken<Pos>>>: Unpin,
Vec<IncludeProblemArg<Pos>>: Unpin,
Vec<MHGraphicsArg<Pos>>: Unpin,
ModuleRules<Pos>: Unpin,
Vec<SModuleArg<Pos, STeXToken<Pos>>>: Unpin,
Vec<STeXToken<Pos>>: Unpin,
Vec<(SymbolReference<Pos>, StringRange<Pos>)>: Unpin,
Vec<MathStructureArg<Pos, STeXToken<Pos>>>: Unpin,
ModuleOrStruct<Pos>: Unpin,
Vec<InlineMorphAssign<Pos, STeXToken<Pos>>>: Unpin,
Option<SymbolReference<Pos>>: Unpin,
Vec<ParagraphArg<Pos, STeXToken<Pos>>>: Unpin,
Vec<ProblemArg<Pos, STeXToken<Pos>>>: Unpin,
Vec<SymdeclArg<Pos, STeXToken<Pos>>>: Unpin,
Vec<TextSymdeclArg<Pos, STeXToken<Pos>>>: Unpin,
SmallVec<SymbolReference<Pos>, 1>: Unpin,
Vec<NotationArg<Pos, STeXToken<Pos>>>: Unpin,
Vec<SymdefArg<Pos, STeXToken<Pos>>>: Unpin,
Vec<VardefArg<Pos, STeXToken<Pos>>>: Unpin,
SymnameMode<Pos>: Unpin,
(StringRange<Pos>, Vec<STeXToken<Pos>>): Unpin,
impl<Pos> UnsafeUnpin for STeXToken<Pos>where
Option<StringRange<Pos>>: UnsafeUnpin,
StringRange<Pos>: UnsafeUnpin,
SymbolReference<Pos>: UnsafeUnpin,
Option<(ArchiveId, StringRange<Pos>)>: UnsafeUnpin,
(Arc<str>, StringRange<Pos>): UnsafeUnpin,
Vec<SRefOptsA<Pos, STeXToken<Pos>>>: UnsafeUnpin,
Vec<SRefOptsB<Pos, STeXToken<Pos>>>: UnsafeUnpin,
Vec<IncludeProblemArg<Pos>>: UnsafeUnpin,
Vec<MHGraphicsArg<Pos>>: UnsafeUnpin,
ModuleRules<Pos>: UnsafeUnpin,
Vec<SModuleArg<Pos, STeXToken<Pos>>>: UnsafeUnpin,
Vec<STeXToken<Pos>>: UnsafeUnpin,
Vec<(SymbolReference<Pos>, StringRange<Pos>)>: UnsafeUnpin,
Vec<MathStructureArg<Pos, STeXToken<Pos>>>: UnsafeUnpin,
ModuleOrStruct<Pos>: UnsafeUnpin,
Vec<InlineMorphAssign<Pos, STeXToken<Pos>>>: UnsafeUnpin,
Option<SymbolReference<Pos>>: UnsafeUnpin,
Vec<ParagraphArg<Pos, STeXToken<Pos>>>: UnsafeUnpin,
Vec<ProblemArg<Pos, STeXToken<Pos>>>: UnsafeUnpin,
Vec<SymdeclArg<Pos, STeXToken<Pos>>>: UnsafeUnpin,
Vec<TextSymdeclArg<Pos, STeXToken<Pos>>>: UnsafeUnpin,
SmallVec<SymbolReference<Pos>, 1>: UnsafeUnpin,
Vec<NotationArg<Pos, STeXToken<Pos>>>: UnsafeUnpin,
Vec<SymdefArg<Pos, STeXToken<Pos>>>: UnsafeUnpin,
Vec<VardefArg<Pos, STeXToken<Pos>>>: UnsafeUnpin,
SymnameMode<Pos>: UnsafeUnpin,
(StringRange<Pos>, Vec<STeXToken<Pos>>): UnsafeUnpin,
impl<Pos> UnwindSafe for STeXToken<Pos>where
Option<StringRange<Pos>>: UnwindSafe,
StringRange<Pos>: UnwindSafe,
SymbolReference<Pos>: UnwindSafe,
Option<(ArchiveId, StringRange<Pos>)>: UnwindSafe,
(Arc<str>, StringRange<Pos>): UnwindSafe,
Vec<SRefOptsA<Pos, STeXToken<Pos>>>: UnwindSafe,
Vec<SRefOptsB<Pos, STeXToken<Pos>>>: UnwindSafe,
Vec<IncludeProblemArg<Pos>>: UnwindSafe,
Vec<MHGraphicsArg<Pos>>: UnwindSafe,
ModuleRules<Pos>: UnwindSafe,
Vec<SModuleArg<Pos, STeXToken<Pos>>>: UnwindSafe,
Vec<STeXToken<Pos>>: UnwindSafe,
Vec<(SymbolReference<Pos>, StringRange<Pos>)>: UnwindSafe,
Vec<MathStructureArg<Pos, STeXToken<Pos>>>: UnwindSafe,
ModuleOrStruct<Pos>: UnwindSafe,
Vec<InlineMorphAssign<Pos, STeXToken<Pos>>>: UnwindSafe,
Option<SymbolReference<Pos>>: UnwindSafe,
Vec<ParagraphArg<Pos, STeXToken<Pos>>>: UnwindSafe,
Vec<ProblemArg<Pos, STeXToken<Pos>>>: UnwindSafe,
Vec<SymdeclArg<Pos, STeXToken<Pos>>>: UnwindSafe,
Vec<TextSymdeclArg<Pos, STeXToken<Pos>>>: UnwindSafe,
SmallVec<SymbolReference<Pos>, 1>: UnwindSafe,
Vec<NotationArg<Pos, STeXToken<Pos>>>: UnwindSafe,
Vec<SymdefArg<Pos, STeXToken<Pos>>>: UnwindSafe,
Vec<VardefArg<Pos, STeXToken<Pos>>>: UnwindSafe,
SymnameMode<Pos>: UnwindSafe,
(StringRange<Pos>, Vec<STeXToken<Pos>>): UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CondSerialize for Twhere
T: Serialize,
ยง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>
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>
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)
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)
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
impl<T> DowncastSend for T
ยงimpl<T> DowncastSync for T
impl<T> DowncastSync for T
ยงimpl<E, T, Request, Encoding> FromReq<Patch<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, T, Request, Encoding> FromReq<Patch<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<E, T, Request, Encoding> FromReq<Post<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, T, Request, Encoding> FromReq<Post<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<E, T, Request, Encoding> FromReq<Put<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, T, Request, Encoding> FromReq<Put<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<E, Encoding, Response, T> FromRes<Patch<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, Encoding, Response, T> FromRes<Patch<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<E, Encoding, Response, T> FromRes<Post<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, Encoding, Response, T> FromRes<Post<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<E, Encoding, Response, T> FromRes<Put<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, Encoding, Response, T> FromRes<Put<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<T> Fruit for Twhere
T: Send + Downcast,
ยง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> โ
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 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> โ
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 moreSourceยงimpl<ET, Err, A> IntoErr<ET, Err> for Awhere
ET: EngineTypes,
Err: From<A>,
impl<ET, Err, A> IntoErr<ET, Err> for Awhere
ET: EngineTypes,
Err: From<A>,
ยงimpl<E, T, Request> IntoReq<DeleteUrl, Request, E> for T
impl<E, T, Request> IntoReq<DeleteUrl, Request, E> for T
ยงimpl<E, T, Request> IntoReq<GetUrl, Request, E> for T
impl<E, T, Request> IntoReq<GetUrl, Request, E> for T
ยงimpl<E, T, Encoding, Request> IntoReq<Patch<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
impl<E, T, Encoding, Request> IntoReq<Patch<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
ยงimpl<E, T, Request> IntoReq<PatchUrl, Request, E> for T
impl<E, T, Request> IntoReq<PatchUrl, Request, E> for T
ยงimpl<E, T, Encoding, Request> IntoReq<Post<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
impl<E, T, Encoding, Request> IntoReq<Post<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
ยงimpl<E, T, Request> IntoReq<PostUrl, Request, E> for T
impl<E, T, Request> IntoReq<PostUrl, Request, E> for T
ยงimpl<E, T, Encoding, Request> IntoReq<Put<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
impl<E, T, Encoding, Request> IntoReq<Put<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
ยงimpl<E, T, Request> IntoReq<PutUrl, Request, E> for T
impl<E, T, Request> IntoReq<PutUrl, Request, E> for T
ยงimpl<E, Response, Encoding, T> IntoRes<Patch<Encoding>, Response, E> for T
impl<E, Response, Encoding, T> IntoRes<Patch<Encoding>, Response, E> for T
ยงimpl<E, Response, Encoding, T> IntoRes<Post<Encoding>, Response, E> for T
impl<E, Response, Encoding, T> IntoRes<Post<Encoding>, Response, E> for T
ยงimpl<E, Response, Encoding, T> IntoRes<Put<Encoding>, Response, E> for T
impl<E, Response, Encoding, T> IntoRes<Put<Encoding>, Response, E> for T
ยงimpl<D> OwoColorize for D
impl<D> OwoColorize for D
ยงfn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Set the foreground color generically Read more
ยงfn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Set the background color generically. Read more
ยงfn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Change the background color to magenta
ยงfn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Change the foreground color to the terminal default
ยงfn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Change the background color to the terminal default
ยงfn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Change the foreground color to bright black
ยงfn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Change the background color to bright black
ยงfn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Change the foreground color to bright red
ยงfn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Change the background color to bright red
ยงfn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Change the foreground color to bright green
ยงfn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Change the background color to bright green
ยงfn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Change the foreground color to bright yellow
ยงfn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Change the background color to bright yellow
ยงfn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Change the foreground color to bright blue
ยงfn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Change the background color to bright blue
ยงfn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright magenta
ยงfn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright magenta
ยงfn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright purple
ยงfn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright purple
ยงfn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Change the foreground color to bright cyan
ยงfn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Change the background color to bright cyan
ยงfn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Change the foreground color to bright white
ยงfn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Change the background color to bright white
ยงfn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Make the text blink (but fast!)
Hide the text
ยงfn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Cross out the text
ยงfn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either [
OwoColorize::fg] or
a color-specific method, such as [OwoColorize::green], Read moreยงfn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either [
OwoColorize::bg] or
a color-specific method, such as [OwoColorize::on_yellow], Read moreยงfn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the foreground color to a specific RGB value.
ยงfn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the background color to a specific RGB value.
ยงfn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Sets the foreground color to an RGB value.
ยงfn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
Sets the background color to an RGB value.
ยงfn if_supports_color<'a, Out, ApplyFn>(
&'a self,
stream: impl Into<Stream>,
apply: ApplyFn,
) -> SupportsColorsDisplay<'a, Self, Out, ApplyFn>where
ApplyFn: Fn(&'a Self) -> Out,
fn if_supports_color<'a, Out, ApplyFn>(
&'a self,
stream: impl Into<Stream>,
apply: ApplyFn,
) -> SupportsColorsDisplay<'a, Self, Out, ApplyFn>where
ApplyFn: Fn(&'a Self) -> Out,
Available on crate feature
supports-colors only.Apply a given transformation function to all formatters if the given stream
supports at least basic ANSI colors, allowing you to conditionally apply
given styles/colors. Read more
ยงimpl<T> Pointable for T
impl<T> Pointable for T
ยงimpl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
ยงimpl<T> SerializableKey for T
impl<T> SerializableKey for T
Sourceยงimpl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
ยงimpl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
ยงfn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
ยงfn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.