#[repr(C)]pub struct div_t {
pub quot: c_int,
pub rem: c_int,
}Fields§
§quot: c_int§rem: c_intTrait Implementations§
Source§impl Ord for div_t
impl Ord for div_t
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for div_t
impl PartialOrd for div_t
impl Copy for div_t
impl Eq for div_t
impl StructuralPartialEq for div_t
Auto Trait Implementations§
impl Freeze for div_t
impl RefUnwindSafe for div_t
impl Send for div_t
impl Sync for div_t
impl Unpin for div_t
impl UnsafeUnpin for div_t
impl UnwindSafe for div_t
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