pub struct TypeAssertionExpression<'tree> {
pub span: Span,
pub operand: Expression<'tree>,
pub type: Type<'tree>,
}Fields§
§span: Span§operand: Expression<'tree>§type: Type<'tree>Trait Implementations§
Source§impl<'tree> Clone for TypeAssertionExpression<'tree>
impl<'tree> Clone for TypeAssertionExpression<'tree>
Source§fn clone(&self) -> TypeAssertionExpression<'tree>
fn clone(&self) -> TypeAssertionExpression<'tree>
Returns a duplicate 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<'tree> Debug for TypeAssertionExpression<'tree>
impl<'tree> Debug for TypeAssertionExpression<'tree>
Source§impl<'tree> FromNode<'tree> for TypeAssertionExpression<'tree>
impl<'tree> FromNode<'tree> for TypeAssertionExpression<'tree>
Source§impl<'tree> PartialEq for TypeAssertionExpression<'tree>
impl<'tree> PartialEq for TypeAssertionExpression<'tree>
Source§fn eq(&self, other: &TypeAssertionExpression<'tree>) -> bool
fn eq(&self, other: &TypeAssertionExpression<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for TypeAssertionExpression<'_>
impl Spanned for TypeAssertionExpression<'_>
impl<'tree> Eq for TypeAssertionExpression<'tree>
impl<'tree> StructuralPartialEq for TypeAssertionExpression<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TypeAssertionExpression<'tree>
impl<'tree> RefUnwindSafe for TypeAssertionExpression<'tree>
impl<'tree> Send for TypeAssertionExpression<'tree>
impl<'tree> Sync for TypeAssertionExpression<'tree>
impl<'tree> Unpin for TypeAssertionExpression<'tree>
impl<'tree> UnsafeUnpin for TypeAssertionExpression<'tree>
impl<'tree> UnwindSafe for TypeAssertionExpression<'tree>
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