pub struct SimpleEnumType {
pub name: Str,
pub variants: Map<Str>,
}Fields§
§name: Str§variants: Map<Str>Trait Implementations§
Source§impl Clone for SimpleEnumType
impl Clone for SimpleEnumType
Source§fn clone(&self) -> SimpleEnumType
fn clone(&self) -> SimpleEnumType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SimpleEnumType
Source§impl Debug for SimpleEnumType
impl Debug for SimpleEnumType
impl Eq for SimpleEnumType
Source§impl Hash for SimpleEnumType
impl Hash for SimpleEnumType
Source§impl PartialEq for SimpleEnumType
impl PartialEq for SimpleEnumType
Source§fn eq(&self, other: &SimpleEnumType) -> bool
fn eq(&self, other: &SimpleEnumType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SimpleEnumType
impl Serialize for SimpleEnumType
impl StructuralPartialEq for SimpleEnumType
Auto Trait Implementations§
impl Freeze for SimpleEnumType
impl RefUnwindSafe for SimpleEnumType
impl Send for SimpleEnumType
impl Sync for SimpleEnumType
impl Unpin for SimpleEnumType
impl UnsafeUnpin for SimpleEnumType
impl UnwindSafe for SimpleEnumType
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