Trait vimwiki::FromLanguage [−][src]
pub trait FromLanguage<'a> { type Error; fn from_language(language: Language<'a>) -> Result<Self, Self::Error>; }
Expand description
Parse a value from a Language
Associated Types
Required methods
fn from_language(language: Language<'a>) -> Result<Self, Self::Error>
[src]
fn from_language(language: Language<'a>) -> Result<Self, Self::Error>
[src]Parses a Language
to return a value of this type
Implementors
type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<BlockElement<'a>>, <Located<BlockElement<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Comment<'a>>, <Located<Comment<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<DecoratedText<'a>>, <Located<DecoratedText<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<InlineElement<'a>>, <Located<InlineElement<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Keyword>, <Located<Keyword> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Link<'a>>, <Located<Link<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Placeholder<'a>>, <Located<Placeholder<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Blockquote<'a>>, <Located<Blockquote<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<CodeBlock<'a>>, <Located<CodeBlock<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<CodeInline<'a>>, <Located<CodeInline<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<DefinitionList<'a>>, <Located<DefinitionList<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Divider>, <Located<Divider> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Header<'a>>, <Located<Header<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<InlineElementContainer<'a>>, <Located<InlineElementContainer<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<LineComment<'a>>, <Located<LineComment<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<List<'a>>, <Located<List<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<ListItem<'a>>, <Located<ListItem<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<MathBlock<'a>>, <Located<MathBlock<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<MathInline<'a>>, <Located<MathInline<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<MultiLineComment<'a>>, <Located<MultiLineComment<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Paragraph<'a>>, <Located<Paragraph<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Table<'a>>, <Located<Table<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Tags<'a>>, <Located<Tags<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Located<Text<'a>>, <Located<Text<'a>> as FromLanguage<'a>>::Error>
[src]type Error = LangParserError<'a>
pub fn from_language(
l: Language<'a>
) -> Result<Page<'a>, <Page<'a> as FromLanguage<'a>>::Error>
[src]