pub struct TypeAssertionData {
pub expression: NodeIndex,
pub type_node: NodeIndex,
}Expand description
Data for as/satisfies/type assertion expressions
Fields§
§expression: NodeIndex§type_node: NodeIndexTrait Implementations§
Source§impl Clone for TypeAssertionData
impl Clone for TypeAssertionData
Source§fn clone(&self) -> TypeAssertionData
fn clone(&self) -> TypeAssertionData
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 Debug for TypeAssertionData
impl Debug for TypeAssertionData
Source§impl<'de> Deserialize<'de> for TypeAssertionData
impl<'de> Deserialize<'de> for TypeAssertionData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TypeAssertionData
impl RefUnwindSafe for TypeAssertionData
impl Send for TypeAssertionData
impl Sync for TypeAssertionData
impl Unpin for TypeAssertionData
impl UnsafeUnpin for TypeAssertionData
impl UnwindSafe for TypeAssertionData
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