#[repr(C)]pub enum IntegerSize {
Fixed(usize),
PointerSized,
}Expand description
Size specification for integer types
Variants§
Fixed(usize)
Fixed-size integer (e.g., u64, i32)
PointerSized
Pointer-sized integer (e.g., usize, isize)
Implementations§
Trait Implementations§
Source§impl Clone for IntegerSize
impl Clone for IntegerSize
Source§fn clone(&self) -> IntegerSize
fn clone(&self) -> IntegerSize
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 IntegerSize
impl Debug for IntegerSize
Source§impl Hash for IntegerSize
impl Hash for IntegerSize
Source§impl PartialEq for IntegerSize
impl PartialEq for IntegerSize
impl Copy for IntegerSize
impl Eq for IntegerSize
impl StructuralPartialEq for IntegerSize
Auto Trait Implementations§
impl Freeze for IntegerSize
impl RefUnwindSafe for IntegerSize
impl Send for IntegerSize
impl Sync for IntegerSize
impl Unpin for IntegerSize
impl UnwindSafe for IntegerSize
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