struct NumericKind {
float: bool,
signed: bool,
bits: u32,
}Expand description
Properties of a numeric native type that decide whether num_cast to
another numeric type can fail.
Fields§
§float: bool§signed: bool§bits: u32Trait Implementations§
Source§impl Clone for NumericKind
impl Clone for NumericKind
impl Copy for NumericKind
Auto Trait Implementations§
impl Freeze for NumericKind
impl RefUnwindSafe for NumericKind
impl Send for NumericKind
impl Sync for NumericKind
impl Unpin for NumericKind
impl UnsafeUnpin for NumericKind
impl UnwindSafe for NumericKind
Blanket Implementations§
impl<T> Allocation for T
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