pub enum Patterns {
Red,
Blue,
Green,
Paisley,
Polkadots,
Sparkles,
KraftPaper,
NewsPaper,
Cloth,
}
Expand description
The Patterns
enum represents various different Patterns that could be used by
crate::giftwrap::GiftWrap
. Though it is used by the GiftWrap
, the Patterns
enum can be
used anywhere in Rust.
todo!() Make Patterns generic so that Patterns::Other(U) can be defined as needed.
Variants§
Trait Implementations§
impl StructuralPartialEq for Patterns
Auto Trait Implementations§
impl Freeze for Patterns
impl RefUnwindSafe for Patterns
impl Send for Patterns
impl Sync for Patterns
impl Unpin for Patterns
impl UnwindSafe for Patterns
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