Enum notedown_ast::AST [−][src]
Variants
Implementations
impl AST
[src]
pub fn kind(&self) -> ASTKind
[src]
pub fn children(&self) -> Vec<AST>
[src]
pub fn range(&self) -> TextRange
[src]
impl AST
[src]
pub fn statements(children: Vec<AST>, r: TextRange) -> Self
[src]
pub fn paragraph(children: Vec<AST>, r: TextRange) -> Self
[src]
pub fn header(children: Vec<AST>, level: usize, r: TextRange) -> Self
[src]
pub fn code(code: CodeBlock, r: TextRange) -> AST
[src]
pub fn command(cmd: Command, r: TextRange) -> AST
[src]
pub fn math(text: String, style: &str, r: TextRange) -> Self
[src]
pub fn style(children: Vec<AST>, style: &str, r: TextRange) -> Self
[src]
pub fn text(text: String, style: &str, r: TextRange) -> Self
[src]
pub fn escaped(char: char, r: TextRange) -> Self
[src]
impl AST
[src]
pub fn content_aware(&self, line: u32, column: u32) -> ContentAware
[src]
impl AST
[src]
Trait Implementations
impl Clone for AST
[src]
impl Debug for AST
[src]
impl Default for AST
[src]
impl Display for AST
[src]
impl Eq for AST
[src]
impl PartialEq<AST> for AST
[src]
impl Slugify for AST
[src]
impl StructuralEq for AST
[src]
impl StructuralPartialEq for AST
[src]
impl ToHTML for AST
[src]
Auto Trait Implementations
impl RefUnwindSafe for AST
[src]
impl Send for AST
[src]
impl Sync for AST
[src]
impl Unpin for AST
[src]
impl UnwindSafe for AST
[src]
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>,