Struct notedown_parser::ASTNode [−][src]
Fields
kind: ASTKind<ASTNode<M>>
meta: M
Implementations
impl<M> ASTNode<M> where
M: Default,
[src]
M: Default,
pub fn statements(children: Vec<ASTNode<M>, Global>) -> ASTNode<M>
[src]
pub fn paragraph(children: Vec<ASTNode<M>, Global>) -> ASTNode<M>
[src]
pub fn header(children: Vec<ASTNode<M>, Global>, level: usize) -> ASTNode<M>
[src]
pub fn code(code: CodeBlock) -> ASTNode<M>
[src]
pub fn command(cmd: Command<ASTNode<M>>) -> ASTNode<M>
[src]
pub fn hr() -> ASTNode<M>
[src]
pub fn math(text: String, style: &str) -> ASTNode<M>
[src]
pub fn style(children: Vec<ASTNode<M>, Global>, style: &str) -> ASTNode<M>
[src]
pub fn text(text: String, style: &str) -> ASTNode<M>
[src]
pub fn escaped(char: char) -> ASTNode<M>
[src]
impl ASTNode<LSPMetaInfo>
[src]
impl<M> ASTNode<M>
[src]
pub fn content_aware(&self, line: u32, column: u32) -> ContentAware
[src]
impl ASTNode<LSPMetaInfo>
[src]
Trait Implementations
impl<M> Clone for ASTNode<M> where
M: Clone,
[src]
M: Clone,
impl<M> Debug for ASTNode<M> where
M: Debug,
[src]
M: Debug,
impl<M> Default for ASTNode<M> where
M: Default,
[src]
M: Default,
impl<M> Display for ASTNode<M> where
M: Debug + Display,
[src]
M: Debug + Display,
impl<M> Eq for ASTNode<M> where
M: Eq,
[src]
M: Eq,
impl<M> PartialEq<ASTNode<M>> for ASTNode<M> where
M: PartialEq<M>,
[src]
M: PartialEq<M>,
impl<M> Slugify for ASTNode<M> where
ASTNode<M>: Debug,
[src]
ASTNode<M>: Debug,
impl<M> StructuralEq for ASTNode<M>
[src]
impl<M> StructuralPartialEq for ASTNode<M>
[src]
impl<M> ToHTML for ASTNode<M> where
M: Debug,
[src]
M: Debug,
Auto Trait Implementations
impl<M> RefUnwindSafe for ASTNode<M> where
M: RefUnwindSafe,
M: RefUnwindSafe,
impl<M> Send for ASTNode<M> where
M: Send,
M: Send,
impl<M> Sync for ASTNode<M> where
M: Sync,
M: Sync,
impl<M> Unpin for ASTNode<M> where
M: Unpin,
M: Unpin,
impl<M> UnwindSafe for ASTNode<M> where
M: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,