pub struct TypeAssertion<'tree> {
pub span: Span,
pub children: Vec<TypeAssertionChildren<'tree>>,
}Fields§
§span: Span§children: Vec<TypeAssertionChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for TypeAssertion<'tree>
impl<'tree> Clone for TypeAssertion<'tree>
Source§fn clone(&self) -> TypeAssertion<'tree>
fn clone(&self) -> TypeAssertion<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TypeAssertion<'tree>
impl<'tree> Debug for TypeAssertion<'tree>
impl<'tree> Eq for TypeAssertion<'tree>
Source§impl<'tree> FromNode<'tree> for TypeAssertion<'tree>
impl<'tree> FromNode<'tree> for TypeAssertion<'tree>
Source§impl<'tree> PartialEq for TypeAssertion<'tree>
impl<'tree> PartialEq for TypeAssertion<'tree>
Source§impl Spanned for TypeAssertion<'_>
impl Spanned for TypeAssertion<'_>
impl<'tree> StructuralPartialEq for TypeAssertion<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TypeAssertion<'tree>
impl<'tree> RefUnwindSafe for TypeAssertion<'tree>
impl<'tree> Send for TypeAssertion<'tree>
impl<'tree> Sync for TypeAssertion<'tree>
impl<'tree> Unpin for TypeAssertion<'tree>
impl<'tree> UnsafeUnpin for TypeAssertion<'tree>
impl<'tree> UnwindSafe for TypeAssertion<'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