pub fn new(term: String, distance: usize, count: usize) -> SuggestItem {
        SuggestItem {
            term,
            distance,
            count,
        }
    }
/// <summary>Create a new instance of SuggestItem.</summary>
/// <param name="term">The suggested word.</param>
/// <param name="distance">Edit distance from search word.</param>
/// <param name="count">Frequency of suggestion in dictionary.</param>
Create a new instance of SuggestItem.
The suggested word.
Edit distance from search word.
Frequency of suggestion in dictionary.
Create a new instance of SuggestItem . The suggested word . Edit distance from search word . Frequency of suggestion in dictionary .
pub fn new(term: String, distance: usize, count: usize) -> SuggestItem {
        SuggestItem {
            term,
            distance,
            count,
        }
    }
pub fn new ( term : String , distance : usize , count : usize ) -> SuggestItem { SuggestItem { term , distance , count , } }
<summary>Create a new instance of SuggestItem.</summary>
<param name="term">The suggested word.</param>
<param name="distance">Edit distance from search word.</param>
<param name="count">Frequency of suggestion in dictionary.</param>
<summary > Create a new instance of SuggestItem . < / summary > <param name = " term " > The suggested word . < / param > <param name = " distance " > Edit distance from search word . < / param > <param name = " count " > Frequency of suggestion in dictionary . < / param >
term
String
distance
usize
count
usize