pub enum HogwartsHouse {
Gryffindor,
Hufflepuff,
Ravenclaw,
Slytherin,
}Variants§
Trait Implementations§
Source§impl Clone for HogwartsHouse
impl Clone for HogwartsHouse
Source§fn clone(&self) -> HogwartsHouse
fn clone(&self) -> HogwartsHouse
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 HogwartsHouse
impl Debug for HogwartsHouse
Source§impl<'de> Deserialize<'de> for HogwartsHouse
impl<'de> Deserialize<'de> for HogwartsHouse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for HogwartsHouse
impl Display for HogwartsHouse
Source§impl PartialEq for HogwartsHouse
impl PartialEq for HogwartsHouse
Source§impl Serialize for HogwartsHouse
impl Serialize for HogwartsHouse
impl Copy for HogwartsHouse
impl StructuralPartialEq for HogwartsHouse
Auto Trait Implementations§
impl Freeze for HogwartsHouse
impl RefUnwindSafe for HogwartsHouse
impl Send for HogwartsHouse
impl Sync for HogwartsHouse
impl Unpin for HogwartsHouse
impl UnwindSafe for HogwartsHouse
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