Struct rust_icu_udat::UDatePatternGenerator
source · pub struct UDatePatternGenerator { /* private fields */ }
Expand description
Implements UDateTimePatternGenerator
. Since 0.5.1.
Implementations§
source§impl UDatePatternGenerator
impl UDatePatternGenerator
sourcepub fn get_best_pattern(&self, skeleton: &str) -> Result<String, Error>
pub fn get_best_pattern(&self, skeleton: &str) -> Result<String, Error>
Implements udatpg_getBestPattern
. Since 0.5.1.
sourcepub fn get_best_pattern_ustring(&self, skeleton: &UChar) -> Result<UChar, Error>
pub fn get_best_pattern_ustring(&self, skeleton: &UChar) -> Result<UChar, Error>
Implements udatpg_getBestPattern
. Since 0.5.1.
Trait Implementations§
source§impl Clone for UDatePatternGenerator
impl Clone for UDatePatternGenerator
source§impl Debug for UDatePatternGenerator
impl Debug for UDatePatternGenerator
Auto Trait Implementations§
impl Freeze for UDatePatternGenerator
impl RefUnwindSafe for UDatePatternGenerator
impl !Send for UDatePatternGenerator
impl !Sync for UDatePatternGenerator
impl Unpin for UDatePatternGenerator
impl UnwindSafe for UDatePatternGenerator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)