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 for TriangleSideType
impl PartialEq 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 ==
.impl Copy for TriangleSideType
impl Eq for TriangleSideType
impl StructuralEq for TriangleSideType
impl StructuralPartialEq for TriangleSideType
Auto Trait Implementations§
impl RefUnwindSafe for TriangleSideType
impl Send for TriangleSideType
impl Sync for TriangleSideType
impl Unpin for TriangleSideType
impl UnwindSafe for TriangleSideType
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