Enum Colons

enum Colons

The separator between hours and minutes in an offset.

Variants

None

No separator

Colon

Colon (:) as separator

Maybe

No separator when formatting, colon allowed when parsing.

Implementations

impl Clone for Colons

fn clone(self: &Self) -> Colons

impl Copy for Colons

impl Debug for Colons

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

impl Eq for Colons

impl Freeze for Colons

impl Hash for Colons

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl PartialEq for Colons

fn eq(self: &Self, other: &Colons) -> bool

impl RefUnwindSafe for Colons

impl Send for Colons

impl StructuralPartialEq for Colons

impl Sync for Colons

impl Unpin for Colons

impl UnwindSafe for Colons

impl<T> Any for Colons

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Colons

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Colons

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Colons

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Colons

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Colons

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Colons

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Colons

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Colons

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>