pub enum VariableIntType {
Signed(VariableSignedIntType),
Unsigned(VariableUnsignedIntType),
}
Expand description
Represents integer types with size and signedness information.
VariableIntType distinguishes between signed and unsigned integer types of various sizes supported by the system.
Variants§
Signed(VariableSignedIntType)
Signed integer types
Unsigned(VariableUnsignedIntType)
Unsigned integer types
Trait Implementations§
Source§impl Clone for VariableIntType
impl Clone for VariableIntType
Source§fn clone(&self) -> VariableIntType
fn clone(&self) -> VariableIntType
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 VariableIntType
impl Debug for VariableIntType
Source§impl Default for VariableIntType
impl Default for VariableIntType
Source§impl<'de> Deserialize<'de> for VariableIntType
impl<'de> Deserialize<'de> for VariableIntType
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 Display for VariableIntType
impl Display for VariableIntType
Source§impl PartialEq for VariableIntType
impl PartialEq for VariableIntType
Source§impl PartialOrd for VariableIntType
impl PartialOrd for VariableIntType
Source§impl Serialize for VariableIntType
impl Serialize for VariableIntType
impl Copy for VariableIntType
impl Eq for VariableIntType
impl StructuralPartialEq for VariableIntType
Auto Trait Implementations§
impl Freeze for VariableIntType
impl RefUnwindSafe for VariableIntType
impl Send for VariableIntType
impl Sync for VariableIntType
impl Unpin for VariableIntType
impl UnwindSafe for VariableIntType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more