pub struct EnumerationInfo {
pub base: Base,
pub variants: VariantsInfo,
}Expand description
Type information that defines an enumeration type.
Fields§
§base: BaseBase type of this enumeration type.
variants: VariantsInfoVariants defined for this enumeration.
Trait Implementations§
Source§impl Clone for EnumerationInfo
impl Clone for EnumerationInfo
Source§fn clone(&self) -> EnumerationInfo
fn clone(&self) -> EnumerationInfo
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 EnumerationInfo
impl Debug for EnumerationInfo
Source§impl Default for EnumerationInfo
impl Default for EnumerationInfo
Source§fn default() -> EnumerationInfo
fn default() -> EnumerationInfo
Returns the “default value” for a type. Read more
Source§impl From<EnumerationInfo> for Type
impl From<EnumerationInfo> for Type
Source§fn from(value: EnumerationInfo) -> Self
fn from(value: EnumerationInfo) -> Self
Converts to this type from the input type.
Source§impl TypeEq for EnumerationInfo
impl TypeEq for EnumerationInfo
Source§fn type_hash<H: Hasher>(&self, hasher: &mut H, types: &Types)
fn type_hash<H: Hasher>(&self, hasher: &mut H, types: &Types)
Feeds this value into the given
Hasher.Source§fn type_eq(&self, other: &Self, types: &Types) -> bool
fn type_eq(&self, other: &Self, types: &Types) -> bool
Check if this instance is equal to the
other instance using the passed
types to resolve identifiers.Source§fn type_hash_slice<H: Hasher>(slice: &[Self], hasher: &mut H, types: &Types)
fn type_hash_slice<H: Hasher>(slice: &[Self], hasher: &mut H, types: &Types)
Feeds a slice of this value into the given
Hasher.Source§fn type_eq_iter<'a, X, Y>(x: X, y: Y, types: &Types) -> boolwhere
Self: 'a,
X: IntoIterator<Item = &'a Self>,
Y: IntoIterator<Item = &'a Self>,
fn type_eq_iter<'a, X, Y>(x: X, y: Y, types: &Types) -> boolwhere
Self: 'a,
X: IntoIterator<Item = &'a Self>,
Y: IntoIterator<Item = &'a Self>,
Check if the two passed iterators contain type equal elements.
Auto Trait Implementations§
impl Freeze for EnumerationInfo
impl RefUnwindSafe for EnumerationInfo
impl Send for EnumerationInfo
impl Sync for EnumerationInfo
impl Unpin for EnumerationInfo
impl UnwindSafe for EnumerationInfo
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