pub struct NamedCellSet { /* private fields */ }
Implementations§
Methods from Deref<Target = CellSet>§
pub fn is_empty(&self) -> bool
pub fn size(&self) -> usize
pub fn add(&mut self, cell: u8)
pub fn has(&self, cell: u8) -> bool
pub fn delete(&mut self, cell: u8)
pub fn clear(&mut self)
pub fn is_subset_of(&self, other: &Self) -> bool
pub fn iter(&self) -> Copied<Iter<'_, u8>>
pub fn to_string(&self, sudoku: &Sudoku) -> String
Trait Implementations§
Source§impl BitAnd<&CellSet> for &NamedCellSet
impl BitAnd<&CellSet> for &NamedCellSet
Source§impl BitAnd for &NamedCellSet
impl BitAnd for &NamedCellSet
Source§impl BitOr<&CellSet> for &NamedCellSet
impl BitOr<&CellSet> for &NamedCellSet
Source§impl BitOr for &NamedCellSet
impl BitOr for &NamedCellSet
Source§impl Clone for NamedCellSet
impl Clone for NamedCellSet
Source§fn clone(&self) -> NamedCellSet
fn clone(&self) -> NamedCellSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NamedCellSet
impl Debug for NamedCellSet
Source§impl Deref for NamedCellSet
impl Deref for NamedCellSet
Source§impl DerefMut for NamedCellSet
impl DerefMut for NamedCellSet
Source§impl PartialEq for NamedCellSet
impl PartialEq for NamedCellSet
Auto Trait Implementations§
impl !Freeze for NamedCellSet
impl !RefUnwindSafe for NamedCellSet
impl Send for NamedCellSet
impl !Sync for NamedCellSet
impl Unpin for NamedCellSet
impl UnwindSafe for NamedCellSet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more