Struct amfnengine::engine::elem_locale::ElemLocaleFormat
[−]pub struct ElemLocaleFormat { /* private fields */ }
Expand description
The locale format definition.
Implementations
impl ElemLocaleFormat
impl ElemLocaleFormat
The locale format implementation.
pub fn new(
date_regex_param: &str,
date_replace_param: &str,
integer_regex_param: &str,
integer_replace_param: &str,
decimal_regex_param: &str,
decimal_replace_param: &str,
currency_regex_param: &str,
currency_replace_param: &str
) -> ElemLocaleFormat
pub fn new(
date_regex_param: &str,
date_replace_param: &str,
integer_regex_param: &str,
integer_replace_param: &str,
decimal_regex_param: &str,
decimal_replace_param: &str,
currency_regex_param: &str,
currency_replace_param: &str
) -> ElemLocaleFormat
Create a new locale format element.
Arguments
date_regex_param
- Date regular expression.date_replace_param
- Date replace expression.integer_regex_param
- Integer regular expression.integer_replace_param
- Integer replace expression.decimal_regex_param
- Decimal regular expression.decimal_replace_param
- Decimal replace expression.currency_regex_param
- Currency regular expression.currency_replace_param
- Currency replace expression.
Return
- See description.
pub fn copy(&self) -> ElemLocaleFormat
pub fn copy(&self) -> ElemLocaleFormat
pub fn date_regex(&self) -> &str
pub fn date_regex(&self) -> &str
pub fn date_replace(&self) -> &str
pub fn date_replace(&self) -> &str
pub fn integer_regex(&self) -> &str
pub fn integer_regex(&self) -> &str
pub fn integer_replace(&self) -> &str
pub fn integer_replace(&self) -> &str
pub fn decimal_regex(&self) -> &str
pub fn decimal_regex(&self) -> &str
pub fn decimal_replace(&self) -> &str
pub fn decimal_replace(&self) -> &str
pub fn currency_regex(&self) -> &str
pub fn currency_regex(&self) -> &str
pub fn currency_replace(&self) -> &str
pub fn currency_replace(&self) -> &str
Auto Trait Implementations
impl RefUnwindSafe for ElemLocaleFormat
impl Send for ElemLocaleFormat
impl Sync for ElemLocaleFormat
impl Unpin for ElemLocaleFormat
impl UnwindSafe for ElemLocaleFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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