[−][src]Struct rhai::TokenizeState
[INTERNALS] State of the tokenizer.
Exported under the internals
feature only.
WARNING
This type is volatile and may change.
Fields
max_string_size: usize
Maximum length of a string (0 = unlimited).
non_unary: bool
Can the next token be a unary operator?
comment_level: usize
Is the tokenizer currently inside a block comment?
end_with_none: bool
Return None
at the end of the stream instead of Some(Token::EOF)
?
include_comments: bool
Include comments?
Trait Implementations
impl Clone for TokenizeState
[src]
fn clone(&self) -> TokenizeState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TokenizeState
[src]
impl Default for TokenizeState
[src]
fn default() -> TokenizeState
[src]
impl Eq for TokenizeState
[src]
impl PartialEq<TokenizeState> for TokenizeState
[src]
fn eq(&self, other: &TokenizeState) -> bool
[src]
fn ne(&self, other: &TokenizeState) -> bool
[src]
impl StructuralEq for TokenizeState
[src]
impl StructuralPartialEq for TokenizeState
[src]
Auto Trait Implementations
impl RefUnwindSafe for TokenizeState
impl Send for TokenizeState
impl Sync for TokenizeState
impl Unpin for TokenizeState
impl UnwindSafe for TokenizeState
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,
fn borrow(&self) -> &TⓘImportant traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Important traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut TⓘImportant traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Important traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,