#[repr(C)]pub enum Signedness {
Signed = 0,
Unsigned = 1,
}Expand description
Represents whether a numeric type is signed or unsigned
Variants§
Trait Implementations§
Source§impl Clone for Signedness
impl Clone for Signedness
Source§fn clone(&self) -> Signedness
fn clone(&self) -> Signedness
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Signedness
impl Debug for Signedness
Source§impl Hash for Signedness
impl Hash for Signedness
Source§impl PartialEq for Signedness
impl PartialEq for Signedness
impl Copy for Signedness
impl Eq for Signedness
impl StructuralPartialEq for Signedness
Auto Trait Implementations§
impl Freeze for Signedness
impl RefUnwindSafe for Signedness
impl Send for Signedness
impl Sync for Signedness
impl Unpin for Signedness
impl UnwindSafe for Signedness
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