Enum Sign

enum Sign

The signedness of a Formatter (or of a FormattingOptions).

Variants

Plus

Represents the + flag.

Minus

Represents the - flag.

Implementations

impl Clone for Sign

fn clone(self: &Self) -> Sign

impl Copy for Sign

impl Debug for Sign

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

impl Eq for Sign

impl Freeze for Sign

impl PartialEq for Sign

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

impl RefUnwindSafe for Sign

impl Send for Sign

impl StructuralPartialEq for Sign

impl Sync for Sign

impl Unpin for Sign

impl UnwindSafe for Sign

impl<T> Any for Sign

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Sign

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

impl<T> BorrowMut for Sign

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

impl<T> CloneToUninit for Sign

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

impl<T> From for Sign

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Sign

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 Sign

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

impl<T, U> TryInto for Sign

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