Struct prql_compiler::ir::constant::ConstExpr
source · pub struct ConstExpr {
pub kind: ConstExprKind,
pub span: Option<Span>,
}
Expand description
A subset of PL expressions that are constant.
Fields§
§kind: ConstExprKind
§span: Option<Span>
Trait Implementations§
source§impl<'de> Deserialize<'de> for ConstExpr
impl<'de> Deserialize<'de> for ConstExpr
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ConstExpr, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ConstExpr, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ConstExpr
impl Serialize for ConstExpr
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ConstExpr
impl Send for ConstExpr
impl Sync for ConstExpr
impl Unpin for ConstExpr
impl UnwindSafe for ConstExpr
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