pub struct Coloring<Node> { /* private fields */ }Implementations§
Source§impl<Node> Coloring<Node>
impl<Node> Coloring<Node>
pub fn assignments(&self) -> &[(Node, usize)]
pub const fn color_count(&self) -> usize
Trait Implementations§
impl<Node: Eq> Eq for Coloring<Node>
impl<Node: PartialEq> StructuralPartialEq for Coloring<Node>
Auto Trait Implementations§
impl<Node> Freeze for Coloring<Node>
impl<Node> RefUnwindSafe for Coloring<Node>where
Node: RefUnwindSafe,
impl<Node> Send for Coloring<Node>where
Node: Send,
impl<Node> Sync for Coloring<Node>where
Node: Sync,
impl<Node> Unpin for Coloring<Node>where
Node: Unpin,
impl<Node> UnsafeUnpin for Coloring<Node>
impl<Node> UnwindSafe for Coloring<Node>where
Node: 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