TCOD_lex_t

Struct TCOD_lex_t 

Source
#[repr(C)]
pub struct TCOD_lex_t {
Show 25 fields pub file_line: c_int, pub token_type: c_int, pub token_int_val: c_int, pub token_idx: c_int, pub token_float_val: f32, pub tok: *mut c_char, pub toklen: c_int, pub lastStringDelim: c_char, pub pos: *mut c_char, pub buf: *mut c_char, pub filename: *mut c_char, pub last_javadoc_comment: *mut c_char, pub nb_symbols: c_int, pub nb_keywords: c_int, pub flags: c_int, pub symbols: [[c_char; 5]; 100], pub keywords: [[c_char; 20]; 100], pub simpleCmt: *const c_char, pub cmtStart: *const c_char, pub cmtStop: *const c_char, pub javadocCmtStart: *const c_char, pub stringDelim: *const c_char, pub javadoc_read: bool_, pub allocBuf: bool_, pub savept: bool_,
}

Fields§

§file_line: c_int§token_type: c_int§token_int_val: c_int§token_idx: c_int§token_float_val: f32§tok: *mut c_char§toklen: c_int§lastStringDelim: c_char§pos: *mut c_char§buf: *mut c_char§filename: *mut c_char§last_javadoc_comment: *mut c_char§nb_symbols: c_int§nb_keywords: c_int§flags: c_int§symbols: [[c_char; 5]; 100]§keywords: [[c_char; 20]; 100]§simpleCmt: *const c_char§cmtStart: *const c_char§cmtStop: *const c_char§javadocCmtStart: *const c_char§stringDelim: *const c_char§javadoc_read: bool_§allocBuf: bool_§savept: bool_

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.