Struct magicsquare::MagicSquare
source · [−]pub struct MagicSquare(_);
Implementations
Trait Implementations
sourceimpl Clone for MagicSquare
impl Clone for MagicSquare
sourcefn clone(&self) -> MagicSquare
fn clone(&self) -> MagicSquare
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MagicSquare
impl Debug for MagicSquare
sourceimpl Display for MagicSquare
impl Display for MagicSquare
sourceimpl Hash for MagicSquare
impl Hash for MagicSquare
sourceimpl PartialEq<MagicSquare> for MagicSquare
impl PartialEq<MagicSquare> for MagicSquare
sourcefn eq(&self, other: &MagicSquare) -> bool
fn eq(&self, other: &MagicSquare) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MagicSquare) -> bool
fn ne(&self, other: &MagicSquare) -> bool
This method tests for !=
.
impl Copy for MagicSquare
impl Eq for MagicSquare
impl StructuralEq for MagicSquare
impl StructuralPartialEq for MagicSquare
Auto Trait Implementations
impl RefUnwindSafe for MagicSquare
impl Send for MagicSquare
impl Sync for MagicSquare
impl Unpin for MagicSquare
impl UnwindSafe for MagicSquare
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more