pub enum Kind {
Integer,
Float(Format),
}Expand description
What a scalar is, once the ABI is the one asking.
Signedness is not here. Every ABI on this list passes a value of a given width the same way whichever end of the range it is at, and the widening a small argument gets is a property of the call and not of the type.
Variants§
Integer
An integer, an enumeration, a bool or a pointer.
Float(Format)
A floating point value in this format.
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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