pub struct UnionValDeclaration<'input> {
pub span: Span,
pub name: Option<(IdentToken<'input>, SimpleToken<'input>)>,
pub type_: Type<'input>,
pub comma: Option<SimpleToken<'input>>,
}Fields§
§span: Span§name: Option<(IdentToken<'input>, SimpleToken<'input>)>§type_: Type<'input>§comma: Option<SimpleToken<'input>>Trait Implementations§
Source§impl<'input> Clone for UnionValDeclaration<'input>
impl<'input> Clone for UnionValDeclaration<'input>
Source§fn clone(&self) -> UnionValDeclaration<'input>
fn clone(&self) -> UnionValDeclaration<'input>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'input> Freeze for UnionValDeclaration<'input>
impl<'input> RefUnwindSafe for UnionValDeclaration<'input>
impl<'input> Send for UnionValDeclaration<'input>
impl<'input> Sync for UnionValDeclaration<'input>
impl<'input> Unpin for UnionValDeclaration<'input>
impl<'input> UnwindSafe for UnionValDeclaration<'input>
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