pub struct ResolvedEnumVariantType {
pub owner: ResolvedEnumTypeRef,
pub data: ResolvedEnumVariantContainerType,
pub name: LocalTypeIdentifier,
pub number: TypeNumber,
}
Fields§
§owner: ResolvedEnumTypeRef
§data: ResolvedEnumVariantContainerType
§name: LocalTypeIdentifier
§number: TypeNumber
Implementations§
Source§impl ResolvedEnumVariantType
impl ResolvedEnumVariantType
pub fn new( owner: ResolvedEnumTypeRef, name: LocalTypeIdentifier, data: ResolvedEnumVariantContainerType, number: TypeNumber, ) -> Self
pub fn container(&self) -> &ResolvedEnumVariantContainerType
pub fn name(&self) -> &LocalTypeIdentifier
pub fn complete_name(&self) -> String
Trait Implementations§
Source§impl Debug for ResolvedEnumVariantType
impl Debug for ResolvedEnumVariantType
Auto Trait Implementations§
impl Freeze for ResolvedEnumVariantType
impl !RefUnwindSafe for ResolvedEnumVariantType
impl !Send for ResolvedEnumVariantType
impl !Sync for ResolvedEnumVariantType
impl Unpin for ResolvedEnumVariantType
impl !UnwindSafe for ResolvedEnumVariantType
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