pub struct ArrayValue {
pub values: Vec<Box<dyn Value>>,
pub base_type: Box<dyn DataType>,
}Fields§
§values: Vec<Box<dyn Value>>§base_type: Box<dyn DataType>Implementations§
Trait Implementations§
Source§impl Clone for ArrayValue
impl Clone for ArrayValue
Source§fn clone(&self) -> ArrayValue
fn clone(&self) -> ArrayValue
Returns a duplicate 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 Value for ArrayValue
impl Value for ArrayValue
Source§fn equals(&self, other: &Box<dyn Value>) -> bool
fn equals(&self, other: &Box<dyn Value>) -> bool
Return if other
Value is equal or not to current valueSource§fn compare(&self, _other: &Box<dyn Value>) -> Option<Ordering>
fn compare(&self, _other: &Box<dyn Value>) -> Option<Ordering>
Return the order between
Value and the current value,
or None if they can’t be orderedSource§fn slice_op(
&self,
start: &Option<Box<dyn Value>>,
end: &Option<Box<dyn Value>>,
) -> Result<Box<dyn Value>, String>
fn slice_op( &self, start: &Option<Box<dyn Value>>, end: &Option<Box<dyn Value>>, ) -> Result<Box<dyn Value>, String>
Source§fn group_eq_op(
&self,
other: &Box<dyn Value>,
group_op: &GroupComparisonOperator,
) -> Result<Box<dyn Value>, String>
fn group_eq_op( &self, other: &Box<dyn Value>, group_op: &GroupComparisonOperator, ) -> Result<Box<dyn Value>, String>
Source§fn group_bang_eq_op(
&self,
other: &Box<dyn Value>,
group_op: &GroupComparisonOperator,
) -> Result<Box<dyn Value>, String>
fn group_bang_eq_op( &self, other: &Box<dyn Value>, group_op: &GroupComparisonOperator, ) -> Result<Box<dyn Value>, String>
Source§fn group_null_safe_eq_op(
&self,
other: &Box<dyn Value>,
group_op: &GroupComparisonOperator,
) -> Result<Box<dyn Value>, String>
fn group_null_safe_eq_op( &self, other: &Box<dyn Value>, group_op: &GroupComparisonOperator, ) -> Result<Box<dyn Value>, String>
Source§fn group_gt_op(
&self,
other: &Box<dyn Value>,
group_op: &GroupComparisonOperator,
) -> Result<Box<dyn Value>, String>
fn group_gt_op( &self, other: &Box<dyn Value>, group_op: &GroupComparisonOperator, ) -> Result<Box<dyn Value>, String>
Source§fn group_gte_op(
&self,
other: &Box<dyn Value>,
group_op: &GroupComparisonOperator,
) -> Result<Box<dyn Value>, String>
fn group_gte_op( &self, other: &Box<dyn Value>, group_op: &GroupComparisonOperator, ) -> Result<Box<dyn Value>, String>
Source§fn group_lt_op(
&self,
other: &Box<dyn Value>,
group_op: &GroupComparisonOperator,
) -> Result<Box<dyn Value>, String>
fn group_lt_op( &self, other: &Box<dyn Value>, group_op: &GroupComparisonOperator, ) -> Result<Box<dyn Value>, String>
Source§fn group_lte_op(
&self,
other: &Box<dyn Value>,
group_op: &GroupComparisonOperator,
) -> Result<Box<dyn Value>, String>
fn group_lte_op( &self, other: &Box<dyn Value>, group_op: &GroupComparisonOperator, ) -> Result<Box<dyn Value>, String>
Auto Trait Implementations§
impl Freeze for ArrayValue
impl !RefUnwindSafe for ArrayValue
impl !Send for ArrayValue
impl !Sync for ArrayValue
impl Unpin for ArrayValue
impl UnsafeUnpin for ArrayValue
impl !UnwindSafe for ArrayValue
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