pub struct Union {
pub extent: Extent,
pub visibility: Option<Visibility>,
pub name: Ident,
pub generics: Option<GenericDeclarations>,
pub wheres: Vec<Where>,
pub fields: Vec<Attributed<StructDefinitionFieldNamed>>,
pub whitespace: Vec<Whitespace>,
}Fields§
§extent: Extent§visibility: Option<Visibility>§name: Ident§generics: Option<GenericDeclarations>§wheres: Vec<Where>§fields: Vec<Attributed<StructDefinitionFieldNamed>>§whitespace: Vec<Whitespace>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Union
impl RefUnwindSafe for Union
impl Send for Union
impl Sync for Union
impl Unpin for Union
impl UnsafeUnpin for Union
impl UnwindSafe for Union
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