pub struct ScriptEnum<'a> {
pub meta: Option<Meta>,
pub name: String,
pub module_name: Option<String>,
pub visibility: Visibility,
pub variants: Vec<ScriptEnumVariant<'a>>,
pub default_variant: Option<u8>,
}
Fields§
§meta: Option<Meta>
§name: String
§module_name: Option<String>
§visibility: Visibility
§variants: Vec<ScriptEnumVariant<'a>>
§default_variant: Option<u8>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ScriptEnum<'a>
impl<'a> RefUnwindSafe for ScriptEnum<'a>
impl<'a> Send for ScriptEnum<'a>
impl<'a> Sync for ScriptEnum<'a>
impl<'a> Unpin for ScriptEnum<'a>
impl<'a> UnwindSafe for ScriptEnum<'a>
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