Struct flite_sys::cst_tokenstream_struct
source · #[repr(C)]pub struct cst_tokenstream_struct {Show 30 fields
pub fd: cst_file,
pub file_pos: c_int,
pub line_number: c_int,
pub eof_flag: c_int,
pub string_buffer: *mut cst_string,
pub current_char: c_int,
pub token_pos: c_int,
pub ws_max: c_int,
pub whitespace: *mut cst_string,
pub prep_max: c_int,
pub prepunctuation: *mut cst_string,
pub token_max: c_int,
pub token: *mut cst_string,
pub postp_max: c_int,
pub postpunctuation: *mut cst_string,
pub tags: *mut cst_features,
pub utf8_explode_mode: c_int,
pub streamtype_data: *mut c_void,
pub p_whitespacesymbols: *const cst_string,
pub p_singlecharsymbols: *const cst_string,
pub p_prepunctuationsymbols: *const cst_string,
pub p_postpunctuationsymbols: *const cst_string,
pub charclass: [cst_string; 256],
pub open: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct, filename: *const c_char) -> c_int>,
pub close: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct)>,
pub eof: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct) -> c_int>,
pub seek: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct, pos: c_int) -> c_int>,
pub tell: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct) -> c_int>,
pub size: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct) -> c_int>,
pub getc: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct) -> c_int>,
}Fields
fd: cst_filefile_pos: c_intline_number: c_inteof_flag: c_intstring_buffer: *mut cst_stringcurrent_char: c_inttoken_pos: c_intws_max: c_intwhitespace: *mut cst_stringprep_max: c_intprepunctuation: *mut cst_stringtoken_max: c_inttoken: *mut cst_stringpostp_max: c_intpostpunctuation: *mut cst_stringutf8_explode_mode: c_intstreamtype_data: *mut c_voidp_whitespacesymbols: *const cst_stringp_singlecharsymbols: *const cst_stringp_prepunctuationsymbols: *const cst_stringp_postpunctuationsymbols: *const cst_stringcharclass: [cst_string; 256]open: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct, filename: *const c_char) -> c_int>close: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct)>eof: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct) -> c_int>seek: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct, pos: c_int) -> c_int>tell: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct) -> c_int>size: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct) -> c_int>getc: Option<unsafe extern "C" fn(ts: *mut cst_tokenstream_struct) -> c_int>Trait Implementations
sourceimpl Clone for cst_tokenstream_struct
impl Clone for cst_tokenstream_struct
sourcefn clone(&self) -> cst_tokenstream_struct
fn clone(&self) -> cst_tokenstream_struct
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for cst_tokenstream_struct
impl Debug for cst_tokenstream_struct
impl Copy for cst_tokenstream_struct
Auto Trait Implementations
impl RefUnwindSafe for cst_tokenstream_struct
impl !Send for cst_tokenstream_struct
impl !Sync for cst_tokenstream_struct
impl Unpin for cst_tokenstream_struct
impl UnwindSafe for cst_tokenstream_struct
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more