pub struct UnionDef {
pub name: String,
pub path: String,
pub generics: Vec<GenericParam>,
/* private fields */
}Expand description
A reflected union definition.
Fields§
§name: String§path: String§generics: Vec<GenericParam>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnionDef
impl RefUnwindSafe for UnionDef
impl Send for UnionDef
impl Sync for UnionDef
impl Unpin for UnionDef
impl UnwindSafe for UnionDef
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