pub struct IntTy {
pub signedness: Signedness,
pub bitness: IntBitness,
}
Fields§
§signedness: Signedness
§bitness: IntBitness
Implementations§
source§impl IntTy
impl IntTy
pub fn isize() -> IntTy
pub fn i8() -> IntTy
pub fn i16() -> IntTy
pub fn i32() -> IntTy
pub fn i64() -> IntTy
pub fn i128() -> IntTy
pub fn usize() -> IntTy
pub fn u8() -> IntTy
pub fn u16() -> IntTy
pub fn u32() -> IntTy
pub fn u64() -> IntTy
pub fn u128() -> IntTy
pub fn as_str(self) -> &'static str
Trait Implementations§
source§impl ResolveBitness for IntTy
impl ResolveBitness for IntTy
source§fn resolve(&self, target: &TargetDataLayout) -> Self
fn resolve(&self, target: &TargetDataLayout) -> Self
Resolves any variable bitness into concrete values.
impl Copy for IntTy
impl Eq for IntTy
impl StructuralEq for IntTy
impl StructuralPartialEq for IntTy
Auto Trait Implementations§
impl RefUnwindSafe for IntTy
impl Send for IntTy
impl Sync for IntTy
impl Unpin for IntTy
impl UnwindSafe for IntTy
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.