pub struct KeywordExpression {
pub keyword: ExpressionKeyword,
}Expand description
A keyword of the expression language.
Fields§
§keyword: ExpressionKeywordImplementations§
Source§impl KeywordExpression
impl KeywordExpression
pub fn new(keyword: ExpressionKeyword) -> Self
pub fn evaluate( &self, context: &ExpressionEvaluationContext<'_>, ) -> ExpressionVariant
Trait Implementations§
Source§impl Clone for KeywordExpression
impl Clone for KeywordExpression
Source§impl Debug for KeywordExpression
impl Debug for KeywordExpression
Source§impl Display for KeywordExpression
impl Display for KeywordExpression
Source§impl From<KeywordExpression> for Expression
impl From<KeywordExpression> for Expression
Source§fn from(value: KeywordExpression) -> Expression
fn from(value: KeywordExpression) -> Expression
Converts to this type from the input type.
Source§impl PartialEq for KeywordExpression
impl PartialEq for KeywordExpression
impl StructuralPartialEq for KeywordExpression
Auto Trait Implementations§
impl Freeze for KeywordExpression
impl RefUnwindSafe for KeywordExpression
impl Send for KeywordExpression
impl Sync for KeywordExpression
impl Unpin for KeywordExpression
impl UnsafeUnpin for KeywordExpression
impl UnwindSafe for KeywordExpression
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more