pub struct TypedValue {
pub value: Value,
pub tpe: Type,
}Fields§
§value: Value§tpe: TypeTrait Implementations§
Source§impl Clone for TypedValue
impl Clone for TypedValue
Source§fn clone(&self) -> TypedValue
fn clone(&self) -> TypedValue
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 TypedValue
impl Debug for TypedValue
Source§impl Default for TypedValue
impl Default for TypedValue
Source§fn default() -> TypedValue
fn default() -> TypedValue
Returns the “default value” for a type. Read more
Source§impl Display for TypedValue
impl Display for TypedValue
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 !RefUnwindSafe for TypedValue
impl !Send for TypedValue
impl !Sync for TypedValue
impl !UnwindSafe for TypedValue
impl Freeze for TypedValue
impl Unpin for TypedValue
impl UnsafeUnpin for TypedValue
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