pub enum TableFieldValue {
ERROR,
Expression(Expression),
Type(TypeValue),
VariadicValues(Token),
}Expand description
A possible value for a table field.
Variants§
ERROR
This TableFieldValue had a syntax error.
Expression(Expression)
An expression, can be found in declarations of tables as variables
only.
Type(TypeValue)
A type, can be found in type definitions only.
VariadicValues(Token)
{...}Trait Implementations§
Source§impl Clone for TableFieldValue
impl Clone for TableFieldValue
Source§fn clone(&self) -> TableFieldValue
fn clone(&self) -> TableFieldValue
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 Debug for TableFieldValue
impl Debug for TableFieldValue
Source§impl Default for TableFieldValue
impl Default for TableFieldValue
Source§fn default() -> TableFieldValue
fn default() -> TableFieldValue
Returns the “default value” for a type. Read more
Source§impl GetRange for TableFieldValue
impl GetRange for TableFieldValue
Source§impl Hash for TableFieldValue
impl Hash for TableFieldValue
Source§impl Ord for TableFieldValue
impl Ord for TableFieldValue
Source§fn cmp(&self, other: &TableFieldValue) -> Ordering
fn cmp(&self, other: &TableFieldValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl ParseWithArgs<bool> for TableFieldValue
impl ParseWithArgs<bool> for TableFieldValue
Source§impl PartialEq for TableFieldValue
impl PartialEq for TableFieldValue
Source§impl PartialOrd for TableFieldValue
impl PartialOrd for TableFieldValue
Source§impl Print for TableFieldValue
impl Print for TableFieldValue
Source§fn print_final_trivia(&self) -> String
fn print_final_trivia(&self) -> String
Prints only the very final trivia. Used for the default implementation of
Print::print, which just joins Print::print_without_final_trivia
and this function.Source§fn print_without_final_trivia(&self) -> String
fn print_without_final_trivia(&self) -> String
Prints the whole token including all surrounding trivia, excluding the
very last trailing trivia.
impl Eq for TableFieldValue
impl StructuralPartialEq for TableFieldValue
Auto Trait Implementations§
impl Freeze for TableFieldValue
impl RefUnwindSafe for TableFieldValue
impl !Send for TableFieldValue
impl !Sync for TableFieldValue
impl Unpin for TableFieldValue
impl UnwindSafe for TableFieldValue
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