pub struct EnumTypeDef {
pub name: String,
pub values: Vec<(String, WordLit)>,
}Expand description
A user-defined enum type.
Fields§
§name: String§values: Vec<(String, WordLit)>Implementations§
Trait Implementations§
Source§impl Clone for EnumTypeDef
impl Clone for EnumTypeDef
Source§fn clone(&self) -> EnumTypeDef
fn clone(&self) -> EnumTypeDef
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 EnumTypeDef
impl Debug for EnumTypeDef
Source§impl PartialEq for EnumTypeDef
impl PartialEq for EnumTypeDef
impl StructuralPartialEq for EnumTypeDef
Auto Trait Implementations§
impl Freeze for EnumTypeDef
impl RefUnwindSafe for EnumTypeDef
impl Send for EnumTypeDef
impl Sync for EnumTypeDef
impl Unpin for EnumTypeDef
impl UnwindSafe for EnumTypeDef
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