pub enum Sign {
Plus,
Minus,
}🔬This is a nightly-only experimental API. (
formatting_options #118117)This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Expand description
The signedness of a Formatter (or of a FormattingOptions).
Variants§
Plus
🔬This is a nightly-only experimental API. (
formatting_options #118117)Represents the + flag.
Minus
🔬This is a nightly-only experimental API. (
formatting_options #118117)Represents the - flag.
Trait Implementations§
Source§impl Clone for Sign
impl Clone for Sign
Source§fn clone(&self) -> Sign
fn clone(&self) -> Sign
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)where
Self:,
fn clone_from(&mut self, source: &Self)where
Self:,
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Performs copy-assignment from
source. Read moreSource§impl PartialEq for Sign
impl PartialEq for Sign
impl Copy for Sign
impl Eq for Sign
impl StructuralPartialEq for Sign
Auto Trait Implementations§
impl Freeze for Sign
impl RefUnwindSafe for Sign
impl Send for Sign
impl Sync for Sign
impl Unpin for Sign
impl UnsafeUnpin for Sign
impl UnwindSafe for Sign
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
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Mutably borrows from an owned value. Read more