pub struct DiagnosticInteger(/* private fields */);Expand description
An exact signed 64-bit diagnostic value with 32-bit alignment.
Two words keep common layout refusals inline even on 32-bit MSVC, where an
i64 field would enlarge every Error. Read the original value with get.
Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticInteger
impl Clone for DiagnosticInteger
impl Copy for DiagnosticInteger
Source§impl Debug for DiagnosticInteger
impl Debug for DiagnosticInteger
Source§impl Display for DiagnosticInteger
impl Display for DiagnosticInteger
impl Eq for DiagnosticInteger
Source§impl From<i32> for DiagnosticInteger
impl From<i32> for DiagnosticInteger
Source§impl From<i64> for DiagnosticInteger
impl From<i64> for DiagnosticInteger
Source§impl From<u32> for DiagnosticInteger
impl From<u32> for DiagnosticInteger
Source§impl Hash for DiagnosticInteger
impl Hash for DiagnosticInteger
Source§impl PartialEq for DiagnosticInteger
impl PartialEq for DiagnosticInteger
impl StructuralPartialEq for DiagnosticInteger
Auto Trait Implementations§
impl Freeze for DiagnosticInteger
impl RefUnwindSafe for DiagnosticInteger
impl Send for DiagnosticInteger
impl Sync for DiagnosticInteger
impl Unpin for DiagnosticInteger
impl UnsafeUnpin for DiagnosticInteger
impl UnwindSafe for DiagnosticInteger
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