Struct diskplan_schema::Expression
source · pub struct Expression<'t>(/* private fields */);
Expand description
A string expression made from one or more Token
s
Implementations§
Trait Implementations§
source§impl<'t> Clone for Expression<'t>
impl<'t> Clone for Expression<'t>
source§fn clone(&self) -> Expression<'t>
fn clone(&self) -> Expression<'t>
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<'t> Debug for Expression<'t>
impl<'t> Debug for Expression<'t>
source§impl Display for Expression<'_>
impl Display for Expression<'_>
source§impl<'t> From<&[Token<'t>]> for Expression<'t>
impl<'t> From<&[Token<'t>]> for Expression<'t>
source§impl<'a> From<Identifier<'a>> for Expression<'a>
impl<'a> From<Identifier<'a>> for Expression<'a>
source§fn from(identifier: Identifier<'a>) -> Self
fn from(identifier: Identifier<'a>) -> Self
Converts to this type from the input type.
source§impl<'t> Ord for Expression<'t>
impl<'t> Ord for Expression<'t>
source§fn cmp(&self, other: &Expression<'t>) -> Ordering
fn cmp(&self, other: &Expression<'t>) -> 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 PartialEq<&str> for Expression<'_>
impl PartialEq<&str> for Expression<'_>
source§impl<'t> PartialEq for Expression<'t>
impl<'t> PartialEq for Expression<'t>
source§fn eq(&self, other: &Expression<'t>) -> bool
fn eq(&self, other: &Expression<'t>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'t> PartialOrd for Expression<'t>
impl<'t> PartialOrd for Expression<'t>
source§fn partial_cmp(&self, other: &Expression<'t>) -> Option<Ordering>
fn partial_cmp(&self, other: &Expression<'t>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'t> Eq for Expression<'t>
impl<'t> StructuralEq for Expression<'t>
impl<'t> StructuralPartialEq for Expression<'t>
Auto Trait Implementations§
impl<'t> RefUnwindSafe for Expression<'t>
impl<'t> Send for Expression<'t>
impl<'t> Sync for Expression<'t>
impl<'t> Unpin for Expression<'t>
impl<'t> UnwindSafe for Expression<'t>
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