[][src]Struct makepad_widget::RustTokenizer

pub struct RustTokenizer {
    pub comment_single: bool,
    pub comment_depth: usize,
    pub in_string: bool,
}

Fields

comment_single: boolcomment_depth: usizein_string: bool

Methods

impl RustTokenizer[src]

pub fn new() -> RustTokenizer[src]

pub fn next_token<'a>(
    &mut self,
    state: &mut TokenizerState<'a>,
    chunk: &mut Vec<char>,
    token_chunks: &Vec<TokenChunk>
) -> TokenType
[src]

pub fn auto_format(
    text_buffer: &mut TextBuffer,
    force_newlines: bool
) -> FormatOutput
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]