[][src]Struct makepad_widget::LineTokenizer

pub struct LineTokenizer<'a> {
    pub prev: char,
    pub cur: char,
    pub next: char,
    // some fields omitted
}

Fields

prev: charcur: charnext: char

Methods

impl<'a> LineTokenizer<'a>[src]

pub fn new(st: &'a str) -> Self[src]

pub fn advance(&mut self)[src]

pub fn next_is_digit(&self) -> bool[src]

pub fn next_is_letter(&self) -> bool[src]

pub fn next_is_lowercase_letter(&self) -> bool[src]

pub fn next_is_uppercase_letter(&self) -> bool[src]

pub fn next_is_hex(&self) -> bool[src]

pub fn advance_with_cur(&mut self)[src]

pub fn advance_with_prev(&mut self)[src]

pub fn keyword(&mut self, chunk: &mut Vec<char>, word: &str) -> bool[src]

Auto Trait Implementations

impl<'a> Send for LineTokenizer<'a>

impl<'a> Sync for LineTokenizer<'a>

impl<'a> Unpin for LineTokenizer<'a>

impl<'a> UnwindSafe for LineTokenizer<'a>

impl<'a> RefUnwindSafe for LineTokenizer<'a>

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]