pub struct ResolvedEnumVariantType {
pub owner: ResolvedEnumTypeRef,
pub data: ResolvedEnumVariantContainerType,
pub name: ResolvedLocalTypeIdentifier,
pub assigned_name: String,
pub number: TypeNumber,
}
Fields§
§owner: ResolvedEnumTypeRef
§data: ResolvedEnumVariantContainerType
§name: ResolvedLocalTypeIdentifier
§assigned_name: String
§number: TypeNumber
Implementations§
Source§impl ResolvedEnumVariantType
impl ResolvedEnumVariantType
pub fn new( owner: ResolvedEnumTypeRef, name: ResolvedLocalTypeIdentifier, assigned_name: &str, data: ResolvedEnumVariantContainerType, number: TypeNumber, ) -> Self
pub fn container(&self) -> &ResolvedEnumVariantContainerType
pub fn name(&self) -> &ResolvedLocalTypeIdentifier
Trait Implementations§
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