pub enum NonPositiveIntegerDatatype {
NonPositiveInteger,
NegativeInteger,
}Expand description
NonPositiveInteger datatype variants.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NonPositiveIntegerDatatype
impl Clone for NonPositiveIntegerDatatype
Source§fn clone(&self) -> NonPositiveIntegerDatatype
fn clone(&self) -> NonPositiveIntegerDatatype
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 NonPositiveIntegerDatatype
impl Debug for NonPositiveIntegerDatatype
Source§impl From<NonPositiveIntegerDatatype> for Datatype
impl From<NonPositiveIntegerDatatype> for Datatype
Source§fn from(value: NonPositiveIntegerDatatype) -> Self
fn from(value: NonPositiveIntegerDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NonPositiveIntegerDatatype> for DecimalDatatype
impl From<NonPositiveIntegerDatatype> for DecimalDatatype
Source§fn from(value: NonPositiveIntegerDatatype) -> Self
fn from(value: NonPositiveIntegerDatatype) -> Self
Converts to this type from the input type.
Source§impl From<NonPositiveIntegerDatatype> for IntegerDatatype
impl From<NonPositiveIntegerDatatype> for IntegerDatatype
Source§fn from(value: NonPositiveIntegerDatatype) -> Self
fn from(value: NonPositiveIntegerDatatype) -> Self
Converts to this type from the input type.
Source§impl Hash for NonPositiveIntegerDatatype
impl Hash for NonPositiveIntegerDatatype
Source§impl Ord for NonPositiveIntegerDatatype
impl Ord for NonPositiveIntegerDatatype
Source§fn cmp(&self, other: &NonPositiveIntegerDatatype) -> Ordering
fn cmp(&self, other: &NonPositiveIntegerDatatype) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for NonPositiveIntegerDatatype
impl PartialOrd for NonPositiveIntegerDatatype
Source§impl TryFrom<Datatype> for NonPositiveIntegerDatatype
impl TryFrom<Datatype> for NonPositiveIntegerDatatype
Source§impl TryFrom<DecimalDatatype> for NonPositiveIntegerDatatype
impl TryFrom<DecimalDatatype> for NonPositiveIntegerDatatype
Source§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
Source§impl TryFrom<IntegerDatatype> for NonPositiveIntegerDatatype
impl TryFrom<IntegerDatatype> for NonPositiveIntegerDatatype
Source§type Error = IntegerDatatype
type Error = IntegerDatatype
The type returned in the event of a conversion error.
Source§fn try_from(value: IntegerDatatype) -> Result<Self, IntegerDatatype>
fn try_from(value: IntegerDatatype) -> Result<Self, IntegerDatatype>
Performs the conversion.
impl Copy for NonPositiveIntegerDatatype
impl Eq for NonPositiveIntegerDatatype
impl StructuralPartialEq for NonPositiveIntegerDatatype
Auto Trait Implementations§
impl Freeze for NonPositiveIntegerDatatype
impl RefUnwindSafe for NonPositiveIntegerDatatype
impl Send for NonPositiveIntegerDatatype
impl Sync for NonPositiveIntegerDatatype
impl Unpin for NonPositiveIntegerDatatype
impl UnwindSafe for NonPositiveIntegerDatatype
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