pub struct LiteralExpression { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for LiteralExpression
impl Clone for LiteralExpression
Source§fn clone(&self) -> LiteralExpression
fn clone(&self) -> LiteralExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LiteralExpression
impl Debug for LiteralExpression
Source§impl Default for LiteralExpression
impl Default for LiteralExpression
Source§fn default() -> LiteralExpression
fn default() -> LiteralExpression
Returns the “default value” for a type. Read more
Source§impl From<LiteralExpression> for LiteralExpression
impl From<LiteralExpression> for LiteralExpression
Source§fn from(value: LiteralExpression) -> LiteralExpression
fn from(value: LiteralExpression) -> LiteralExpression
Converts to this type from the input type.
Source§impl TryFrom<LiteralExpression> for LiteralExpression
impl TryFrom<LiteralExpression> for LiteralExpression
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: LiteralExpression,
) -> Result<LiteralExpression, ConversionError>
fn try_from( value: LiteralExpression, ) -> Result<LiteralExpression, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for LiteralExpression
impl Freeze for LiteralExpressionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for LiteralExpression
impl RefUnwindSafe for LiteralExpression
impl Send for LiteralExpression
impl Sync for LiteralExpression
impl Unpin for LiteralExpression
impl UnsafeUnpin for LiteralExpressionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for LiteralExpression
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