pub struct Product<T> {
pub before: Option<ProductArg<T>>,
pub intersection: Option<AnyRange<T>>,
pub after: Option<ProductArg<T>>,
}
Expand description
Result of a product
operation.
Fields§
§before: Option<ProductArg<T>>
What is left of self
and other
before their intersection.
intersection: Option<AnyRange<T>>
The intersection of self
and other
, if not empty.
after: Option<ProductArg<T>>
What is left of self
and other
after their intersection.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for Product<T>where
T: Freeze,
impl<T> RefUnwindSafe for Product<T>where
T: RefUnwindSafe,
impl<T> Send for Product<T>where
T: Send,
impl<T> Sync for Product<T>where
T: Sync,
impl<T> Unpin for Product<T>where
T: Unpin,
impl<T> UnwindSafe for Product<T>where
T: UnwindSafe,
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