pub struct LowerPartialFunction<B, O>where
B: PartialOrd,{ /* private fields */ }
Expand description
A lower partial function is a function that is defined by segments valid from [x..infinite[, or until it hits another function’s start. It starts searching at -infinity and goes up to infinity, and takes the last seen function that contains the desired invariable value (x).
Example: [0..infinity[ = 5 [1..infinity[ = 10
f(0.5) = 5 f(1) = 10 f(70) = 10
Implementations§
Source§impl<B, O> LowerPartialFunction<B, O>where
B: PartialOrd,
impl<B, O> LowerPartialFunction<B, O>where
B: PartialOrd,
Auto Trait Implementations§
impl<B, O> Freeze for LowerPartialFunction<B, O>
impl<B, O> !RefUnwindSafe for LowerPartialFunction<B, O>
impl<B, O> !Send for LowerPartialFunction<B, O>
impl<B, O> !Sync for LowerPartialFunction<B, O>
impl<B, O> Unpin for LowerPartialFunction<B, O>where
B: Unpin,
impl<B, O> !UnwindSafe for LowerPartialFunction<B, O>
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