pub enum CompiledConstant {
Integer(i64),
String(String),
Boolean(bool),
IPAddress(IpAddr),
}Variants§
Trait Implementations§
Source§impl Clone for CompiledConstant
impl Clone for CompiledConstant
Source§fn clone(&self) -> CompiledConstant
fn clone(&self) -> CompiledConstant
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 CompiledConstant
impl Debug for CompiledConstant
Source§impl Display for CompiledConstant
impl Display for CompiledConstant
Source§impl From<&CompiledConstant> for TypedValue
impl From<&CompiledConstant> for TypedValue
Source§fn from(value: &CompiledConstant) -> Self
fn from(value: &CompiledConstant) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CompiledConstant
impl RefUnwindSafe for CompiledConstant
impl Send for CompiledConstant
impl Sync for CompiledConstant
impl Unpin for CompiledConstant
impl UnsafeUnpin for CompiledConstant
impl UnwindSafe for CompiledConstant
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