#[repr(C)]pub struct libpostal_normalize_options {Show 21 fields
pub languages: *mut *mut c_char,
pub num_languages: size_t,
pub address_components: u16,
pub latin_ascii: bool,
pub transliterate: bool,
pub strip_accents: bool,
pub decompose: bool,
pub lowercase: bool,
pub trim_string: bool,
pub drop_parentheticals: bool,
pub replace_numeric_hyphens: bool,
pub delete_numeric_hyphens: bool,
pub split_alpha_from_numeric: bool,
pub replace_word_hyphens: bool,
pub delete_word_hyphens: bool,
pub delete_final_periods: bool,
pub delete_acronym_periods: bool,
pub drop_english_possessives: bool,
pub delete_apostrophes: bool,
pub expand_numex: bool,
pub roman_numerals: bool,
}Fields
languages: *mut *mut c_charnum_languages: size_taddress_components: u16latin_ascii: booltransliterate: boolstrip_accents: booldecompose: boollowercase: booltrim_string: booldrop_parentheticals: boolreplace_numeric_hyphens: booldelete_numeric_hyphens: boolsplit_alpha_from_numeric: boolreplace_word_hyphens: booldelete_word_hyphens: booldelete_final_periods: booldelete_acronym_periods: booldrop_english_possessives: booldelete_apostrophes: boolexpand_numex: boolroman_numerals: boolTrait Implementations
sourceimpl Clone for libpostal_normalize_options
impl Clone for libpostal_normalize_options
sourcefn clone(&self) -> libpostal_normalize_options
fn clone(&self) -> libpostal_normalize_options
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 more
sourceimpl Debug for libpostal_normalize_options
impl Debug for libpostal_normalize_options
impl Copy for libpostal_normalize_options
Auto Trait Implementations
impl RefUnwindSafe for libpostal_normalize_options
impl !Send for libpostal_normalize_options
impl !Sync for libpostal_normalize_options
impl Unpin for libpostal_normalize_options
impl UnwindSafe for libpostal_normalize_options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more