pub enum DerivedData {
Generic(Generic<Derived>),
Data(Rc<dyn DerivedType>),
}
Expand description
An unrolled derived type expression data
Variants§
Trait Implementations§
Source§impl CloneWithNode for DerivedData
impl CloneWithNode for DerivedData
Source§fn clone_with_node(&mut self) -> Self
fn clone_with_node(&mut self) -> Self
Clone
self
and take its node.Source§fn clone_without_node(&self) -> Self
fn clone_without_node(&self) -> Self
Clone
self
without taking its node.Source§impl Debug for DerivedData
impl Debug for DerivedData
Auto Trait Implementations§
impl Freeze for DerivedData
impl !RefUnwindSafe for DerivedData
impl !Send for DerivedData
impl !Sync for DerivedData
impl Unpin for DerivedData
impl !UnwindSafe for DerivedData
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> Convert for T
impl<T> Convert for T
Source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Convert
self
into a specific type. Read moreSource§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Check if
self
can be converted into a specific type. Read more