pub struct Expression<'t>(/* private fields */);Expand description
A string expression made from one or more Tokens
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 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<'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§impl<'t> PartialOrd for Expression<'t>
impl<'t> PartialOrd for Expression<'t>
impl<'t> Eq for Expression<'t>
impl<'t> StructuralPartialEq for Expression<'t>
Auto Trait Implementations§
impl<'t> Freeze for Expression<'t>
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