#[repr(C)]pub struct UnionType<'input> {
pub left: Box<Type<'input>>,
pub pipe: Span,
pub right: Box<Type<'input>>,
}Fields§
§left: Box<Type<'input>>§pipe: Span§right: Box<Type<'input>>Trait Implementations§
Source§impl<'input> Ord for UnionType<'input>
impl<'input> Ord for UnionType<'input>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'input> PartialOrd for UnionType<'input>
impl<'input> PartialOrd for UnionType<'input>
impl<'input> Eq for UnionType<'input>
impl<'input> StructuralPartialEq for UnionType<'input>
Auto Trait Implementations§
impl<'input> Freeze for UnionType<'input>
impl<'input> RefUnwindSafe for UnionType<'input>
impl<'input> Send for UnionType<'input>
impl<'input> Sync for UnionType<'input>
impl<'input> Unpin for UnionType<'input>
impl<'input> UnwindSafe for UnionType<'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