Struct vrl::compiler::expression::Assignment
source · pub struct Assignment { /* private fields */ }Trait Implementations§
source§impl Clone for Assignment
impl Clone for Assignment
source§fn clone(&self) -> Assignment
fn clone(&self) -> Assignment
Returns a copy 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 Assignment
impl Debug for Assignment
source§impl Display for Assignment
impl Display for Assignment
source§impl Expression for Assignment
impl Expression for Assignment
source§fn type_info(&self, state: &TypeState) -> TypeInfo
fn type_info(&self, state: &TypeState) -> TypeInfo
Calculates the type state after an expression resolves, including the expression result itself.
This must be called with the initial
TypeState. Read moresource§fn resolve_constant(&self, _state: &TypeState) -> Option<Value>
fn resolve_constant(&self, _state: &TypeState) -> Option<Value>
Resolve an expression to a value without any context, if possible.
This attempts to resolve expressions using only compile-time information. Read more
source§fn apply_type_info(&self, state: &mut TypeState) -> TypeDef
fn apply_type_info(&self, state: &mut TypeState) -> TypeDef
Applies state changes from the expression to the given state, and
returns the result type.
source§impl From<Assignment> for Expr
impl From<Assignment> for Expr
source§fn from(assignment: Assignment) -> Self
fn from(assignment: Assignment) -> Self
Converts to this type from the input type.
source§impl PartialEq<Assignment> for Assignment
impl PartialEq<Assignment> for Assignment
source§fn eq(&self, other: &Assignment) -> bool
fn eq(&self, other: &Assignment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Assignment
Auto Trait Implementations§
impl !RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl !UnwindSafe for Assignment
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