Struct Extension

pub struct Extension { /* private fields */ }

These are "extensions" to the standard strftime conversion specifiers.

This type represents which flags and/or padding were provided with a specifier. For example, %_3d uses 3 spaces of padding.

Currently, this type provides no structured introspection facilities. It is exported and available only via implementations of the Custom trait for reasons of semver compatible API evolution. If you have use cases for introspecting this type, please open an issue.

Trait Implementations

impl Clone for Extension

fn clone(&self) -> Self

impl Debug for Extension

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl Freeze for Extension

impl RefUnwindSafe for Extension

impl Send for Extension

impl Sync for Extension

impl Unpin for Extension

impl UnsafeUnpin for Extension

impl UnwindSafe for Extension

Blanket Implementations

impl<T> Any for Extension where T: 'static + ?Sized,

impl<T> Borrow<T> for Extension where T: ?Sized,

impl<T> BorrowMut<T> for Extension where T: ?Sized,

impl<T> CloneToUninit for Extension where T: Clone,

impl<T> From<T> for Extension

impl<T> ToOwned for Extension where T: Clone,

impl<T, U> Into<U> for Extension where U: From<T>,

impl<T, U> TryFrom<U> for Extension where U: Into<T>,

impl<T, U> TryInto<U> for Extension where U: TryFrom<T>,