pub enum TriangleSideType {
Isosceles,
Scalene,
Equilateral,
}
Variants§
Trait Implementations§
source§impl Clone for TriangleSideType
impl Clone for TriangleSideType
source§fn clone(&self) -> TriangleSideType
fn clone(&self) -> TriangleSideType
Returns a copy 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 TriangleSideType
impl Debug for TriangleSideType
source§impl Hash for TriangleSideType
impl Hash for TriangleSideType
source§impl PartialEq<TriangleSideType> for TriangleSideType
impl PartialEq<TriangleSideType> for TriangleSideType
source§fn eq(&self, other: &TriangleSideType) -> bool
fn eq(&self, other: &TriangleSideType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.