pub enum Signedness {
None,
Unsigned,
Signed,
}
Expand description
Signedness of a bit-vector type.
In machine-check, bit-vectors can have no signedness, as the interpretation of its value may completely depend on the operation performed.
Variants§
Trait Implementations§
Source§impl Clone for Signedness
impl Clone for Signedness
Source§fn clone(&self) -> Signedness
fn clone(&self) -> Signedness
Returns a copy 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<'de> Deserialize<'de> for Signedness
impl<'de> Deserialize<'de> for Signedness
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for Signedness
impl Hash for Signedness
Source§impl PartialEq for Signedness
impl PartialEq for Signedness
Source§impl Serialize for Signedness
impl Serialize 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