pub struct NumInfo {
pub ty: NumCls,
pub size: NumSize,
}
Expand description
Information about numeric type
Fields§
§ty: NumCls
Class of the number
size: NumSize
Size of the number, in bytes
Implementations§
Trait Implementations§
impl Copy for NumInfo
impl Eq for NumInfo
impl StructuralPartialEq for NumInfo
Auto Trait Implementations§
impl Freeze for NumInfo
impl RefUnwindSafe for NumInfo
impl Send for NumInfo
impl Sync for NumInfo
impl Unpin for NumInfo
impl UnwindSafe for NumInfo
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