pub struct Real(/* private fields */);Implementations§
Trait Implementations§
Source§impl OrdLogic for Real
impl OrdLogic for Real
Source§fn cmp_log(self, o: Self) -> Ordering
fn cmp_log(self, o: Self) -> Ordering
(open)
if self < o { Ordering::Less } else if self == o { Ordering::Equal } else { Ordering::Greater }
Source§fn cmp_le_log(x: Self, y: Self)
fn cmp_le_log(x: Self, y: Self)
(open(pub(self)), law) ⚠
ensures
x.le_log(y) == (x.cmp_log(y) != Ordering::Greater)Source§fn cmp_lt_log(x: Self, y: Self)
fn cmp_lt_log(x: Self, y: Self)
(open(pub(self)), law) ⚠
ensures
x.lt_log(y) == (x.cmp_log(y) == Ordering::Less)Source§fn cmp_ge_log(x: Self, y: Self)
fn cmp_ge_log(x: Self, y: Self)
(open(pub(self)), law) ⚠
ensures
x.ge_log(y) == (x.cmp_log(y) != Ordering::Less)Source§fn cmp_gt_log(x: Self, y: Self)
fn cmp_gt_log(x: Self, y: Self)
(open(pub(self)), law) ⚠
ensures
x.gt_log(y) == (x.cmp_log(y) == Ordering::Greater)Source§fn trans(x: Self, y: Self, z: Self, o: Ordering)
fn trans(x: Self, y: Self, z: Self, o: Ordering)
(open(pub(self)), law) ⚠
requires
x.cmp_log(y) == orequires
y.cmp_log(z) == oensures
x.cmp_log(z) == oSource§fn antisym1(x: Self, y: Self)
fn antisym1(x: Self, y: Self)
(open(pub(self)), law) ⚠
requires
x.cmp_log(y) == Ordering::Lessensures
y.cmp_log(x) == Ordering::GreaterAuto Trait Implementations§
impl Freeze for Real
impl RefUnwindSafe for Real
impl !Send for Real
impl !Sync for Real
impl Unpin for Real
impl UnwindSafe for Real
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