pub enum DieKind {
Builtin,
Custom,
}Expand description
Classifies whether a die is provided by the crate or supplied by a caller.
Variants§
Trait Implementations§
impl Copy for DieKind
Source§impl<'de> Deserialize<'de> for DieKind
impl<'de> Deserialize<'de> for DieKind
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
impl StructuralPartialEq for DieKind
Auto Trait Implementations§
impl Freeze for DieKind
impl RefUnwindSafe for DieKind
impl Send for DieKind
impl Sync for DieKind
impl Unpin for DieKind
impl UnsafeUnpin for DieKind
impl UnwindSafe for DieKind
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