Struct amfnengine::core::elem_locale::ElemLocaleFormat [−]
The locale format definition.
Implementations
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
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 date_regex(&self) -> &str
pub fn date_replace(&self) -> &str
pub fn integer_regex(&self) -> &str
pub fn integer_replace(&self) -> &str
pub fn decimal_regex(&self) -> &str
pub fn decimal_replace(&self) -> &str
pub fn currency_regex(&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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,