Struct wick_packet::TypeWrapper
source · pub struct TypeWrapper(_, _);
Implementations§
source§impl TypeWrapper
impl TypeWrapper
sourcepub fn new(ty: TypeSignature, val: Value) -> Self
pub fn new(ty: TypeSignature, val: Value) -> Self
Create a new TypeWrapper.
pub fn type_signature(&self) -> &TypeSignature
pub fn into_inner(self) -> Value
pub fn inner(&self) -> &Value
Trait Implementations§
source§impl Clone for TypeWrapper
impl Clone for TypeWrapper
source§fn clone(&self) -> TypeWrapper
fn clone(&self) -> TypeWrapper
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 more