#[repr(C)]pub struct IntersectionType<'input> {
pub left: Box<Type<'input>>,
pub ampersand: Span,
pub right: Box<Type<'input>>,
}Fields§
§left: Box<Type<'input>>§ampersand: Span§right: Box<Type<'input>>Trait Implementations§
Source§impl<'input> Clone for IntersectionType<'input>
impl<'input> Clone for IntersectionType<'input>
Source§fn clone(&self) -> IntersectionType<'input>
fn clone(&self) -> IntersectionType<'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 moreSource§impl<'input> Debug for IntersectionType<'input>
impl<'input> Debug for IntersectionType<'input>
Source§impl Display for IntersectionType<'_>
impl Display for IntersectionType<'_>
Source§impl HasSpan for IntersectionType<'_>
impl HasSpan for IntersectionType<'_>
Source§impl<'input> Hash for IntersectionType<'input>
impl<'input> Hash for IntersectionType<'input>
Source§impl<'input> Ord for IntersectionType<'input>
impl<'input> Ord for IntersectionType<'input>
Source§fn cmp(&self, other: &IntersectionType<'input>) -> Ordering
fn cmp(&self, other: &IntersectionType<'input>) -> Ordering
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> PartialEq for IntersectionType<'input>
impl<'input> PartialEq for IntersectionType<'input>
Source§impl<'input> PartialOrd for IntersectionType<'input>
impl<'input> PartialOrd for IntersectionType<'input>
Source§impl<'input> Serialize for IntersectionType<'input>
impl<'input> Serialize for IntersectionType<'input>
impl<'input> Eq for IntersectionType<'input>
impl<'input> StructuralPartialEq for IntersectionType<'input>
Auto Trait Implementations§
impl<'input> Freeze for IntersectionType<'input>
impl<'input> RefUnwindSafe for IntersectionType<'input>
impl<'input> Send for IntersectionType<'input>
impl<'input> Sync for IntersectionType<'input>
impl<'input> Unpin for IntersectionType<'input>
impl<'input> UnwindSafe for IntersectionType<'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