pub struct Expression<Idx, B, U, T> {
pub kind: ExpressionKind<B, U, T>,
pub span: Span<Idx>,
}
Fields§
§kind: ExpressionKind<B, U, T>
§span: Span<Idx>
Trait Implementations§
Source§impl<Idx: Clone, B: Clone, U: Clone, T: Clone> Clone for Expression<Idx, B, U, T>
impl<Idx: Clone, B: Clone, U: Clone, T: Clone> Clone for Expression<Idx, B, U, T>
Source§fn clone(&self) -> Expression<Idx, B, U, T>
fn clone(&self) -> Expression<Idx, B, U, T>
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<Idx, B: PartialEq, U: PartialEq, T: PartialEq> PartialEq for Expression<Idx, B, U, T>
Expression equality ignores the span
impl<Idx, B: PartialEq, U: PartialEq, T: PartialEq> PartialEq for Expression<Idx, B, U, T>
Expression equality ignores the span
impl<Idx: Copy, B: Copy, U: Copy, T: Copy> Copy for Expression<Idx, B, U, T>
impl<Idx: Eq, B: Eq, U: Eq, T: Eq> Eq for Expression<Idx, B, U, T>
Auto Trait Implementations§
impl<Idx, B, U, T> Freeze for Expression<Idx, B, U, T>
impl<Idx, B, U, T> RefUnwindSafe for Expression<Idx, B, U, T>
impl<Idx, B, U, T> Send for Expression<Idx, B, U, T>
impl<Idx, B, U, T> Sync for Expression<Idx, B, U, T>
impl<Idx, B, U, T> Unpin for Expression<Idx, B, U, T>
impl<Idx, B, U, T> UnwindSafe for Expression<Idx, B, U, T>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more