pub struct EnumSpec {
pub name: Option<InternedStr>,
pub enumerators: Option<Vec<Enumerator>>,
pub loc: SourceLocation,
}Expand description
列挙型指定
Fields§
§name: Option<InternedStr>§enumerators: Option<Vec<Enumerator>>§loc: SourceLocationTrait Implementations§
Auto Trait Implementations§
impl Freeze for EnumSpec
impl RefUnwindSafe for EnumSpec
impl Send for EnumSpec
impl Sync for EnumSpec
impl Unpin for EnumSpec
impl UnsafeUnpin for EnumSpec
impl UnwindSafe for EnumSpec
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