pub trait SelfAsScalarRef {
// Required method
fn as_scalar_ref(&self) -> Self;
}
Expand description
To make sure there is as_scalar_ref
for all scalar ref types.
See https://github.com/risingwavelabs/risingwave/pull/9977/files#r1208972881
This is used by the expr macro.
Required Methods§
fn as_scalar_ref(&self) -> Self
Object Safety§
This trait is not object safe.