pub struct UnionWith<'a> {
pub union_span: Span,
pub union_type: UnionType,
pub union_statement: Box<Statement<'a>>,
}
Expand description
Right hand side of a union expression
Fields§
§union_span: Span
Span of “UNION”
union_type: UnionType
Type of union to perform
union_statement: Box<Statement<'a>>
Statement to union
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for UnionWith<'a>
impl<'a> RefUnwindSafe for UnionWith<'a>
impl<'a> Send for UnionWith<'a>
impl<'a> Sync for UnionWith<'a>
impl<'a> Unpin for UnionWith<'a>
impl<'a> UnwindSafe for UnionWith<'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