Struct crfsuite_sys::crfsuite_instance_t
[−]
[src]
#[repr(C)]pub struct crfsuite_instance_t { pub num_items: c_int, pub cap_items: c_int, pub items: *mut crfsuite_item_t, pub labels: *mut c_int, pub weight: floatval_t, pub group: c_int, }
An instance (sequence of items and labels). An instance consists of a sequence of items and labels.
Fields
num_items: c_int
Number of items/labels in the sequence.
cap_items: c_int
Maximum number of items/labels (internal use).
items: *mut crfsuite_item_t
Array of the item sequence.
labels: *mut c_int
Array of the label sequence.
weight: floatval_t
Instance weight.
group: c_int
Group ID of the instance.
Trait Implementations
impl Debug for crfsuite_instance_t
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for crfsuite_instance_t
[src]
impl Clone for crfsuite_instance_t
[src]
fn clone(&self) -> crfsuite_instance_t
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more