pub struct Quotient<T> {
pub object: T,
pub num_classes: usize,
pub quotient: Option<T>,
}Expand description
A categorical quotient by an equivalence relation.
Fields§
§object: TOriginal object
num_classes: usizeNumber of equivalence classes
quotient: Option<T>The quotient object (if it exists)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Quotient<T>where
T: Freeze,
impl<T> RefUnwindSafe for Quotient<T>where
T: RefUnwindSafe,
impl<T> Send for Quotient<T>where
T: Send,
impl<T> Sync for Quotient<T>where
T: Sync,
impl<T> Unpin for Quotient<T>where
T: Unpin,
impl<T> UnwindSafe for Quotient<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