Enum Sign
enum Sign
A Sign is a BigInt's composing element.
Variants
-
Minus -
NoSign -
Plus
Implementations
impl Clone for Sign
fn clone(self: &Self) -> Sign
impl Copy for Sign
impl Debug for Sign
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Eq for Sign
impl Freeze for Sign
impl Hash for Sign
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl Mul for Sign
fn mul(self: Self, other: Sign) -> Sign
impl Neg for Sign
fn neg(self: Self) -> SignNegate
Signvalue.
impl Ord for Sign
fn cmp(self: &Self, other: &Sign) -> Ordering
impl PartialEq for Sign
fn eq(self: &Self, other: &Sign) -> bool
impl PartialOrd for Sign
fn partial_cmp(self: &Self, other: &Sign) -> Option<Ordering>
impl RefUnwindSafe for Sign
impl Send for Sign
impl Serialize for Sign
fn serialize<S>(self: &Self, serializer: S) -> Result<<S as >::Ok, <S as >::Error> where S: Serializer
impl StructuralPartialEq for Sign
impl Sync for Sign
impl Unpin for Sign
impl UnsafeUnpin for Sign
impl UnwindSafe for Sign
impl<'de> Deserialize for Sign
fn deserialize<D>(deserializer: D) -> Result<Self, <D as >::Error> where D: Deserializer<'de>
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> DeserializeOwned for Sign
impl<T> From for Sign
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Sign
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Sign
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses 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>