Struct crfsuite_sys::tag_crfsuite_model [] [src]

#[repr(C)]
pub struct tag_crfsuite_model { pub internal: *mut c_void, pub nref: c_int, pub addref: Option<unsafe extern "C" fn(_: *mut crfsuite_model_t) -> c_int>, pub release: Option<unsafe extern "C" fn(_: *mut crfsuite_model_t) -> c_int>, pub get_tagger: Option<unsafe extern "C" fn(_: *mut crfsuite_model_t, _: *mut *mut crfsuite_tagger_t) -> c_int>, pub get_labels: Option<unsafe extern "C" fn(_: *mut crfsuite_model_t, _: *mut *mut crfsuite_dictionary_t) -> c_int>, pub get_attrs: Option<unsafe extern "C" fn(_: *mut crfsuite_model_t, _: *mut *mut crfsuite_dictionary_t) -> c_int>, pub dump: Option<unsafe extern "C" fn(_: *mut crfsuite_model_t, _: *mut FILE) -> c_int>, }

\addtogroup crfsuite_object Object interfaces and utilities. @{

Fields

Pointer to the internal data (internal use only).

Reference counter (internal use only).

Increment the reference counter. @param model The pointer to this model instance. @return int The reference count after this increment.

Decrement the reference counter. @param model The pointer to this model instance. @return int The reference count after this operation.

Obtain the pointer to crfsuite_tagger_t interface. @param model The pointer to this model instance. @param ptr_tagger The pointer that receives a crfsuite_tagger_t pointer. @return int The status code.

Obtain the pointer to crfsuite_dictionary_t interface for labels. @param model The pointer to this model instance. @param ptr_labels The pointer that receives a crfsuite_dictionary_t pointer. @return int The status code.

Obtain the pointer to crfsuite_dictionary_t interface for attributes. @param model The pointer to this model instance. @param ptr_attrs The pointer that receives a crfsuite_dictionary_t pointer. @return int The status code.

Print the model in human-readable format. @param model The pointer to this model instance. @param fpo The FILE* pointer. @return int The status code.

Trait Implementations

impl Debug for tag_crfsuite_model
[src]

[src]

Formats the value using the given formatter.

impl Copy for tag_crfsuite_model
[src]

impl Clone for tag_crfsuite_model
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more