Trait ToPaxValue

Source
pub trait ToPaxValue {
    // Required method
    fn to_pax_value(self) -> PaxValue;
}
Expand description

This trait is implemented by all types that has a builtin equivalent representation (see to_from_impls module) This is NOT responsible for coercing between types, but returns an err in all cases where the underlying type is not exactly what is expected

Required Methods§

Implementations on Foreign Types§

Source§

impl ToPaxValue for PaxType

Source§

impl ToPaxValue for PublishResponse

Source§

impl ToPaxValue for bool

Source§

impl ToPaxValue for f32

Source§

impl ToPaxValue for f64

Source§

impl ToPaxValue for i8

Source§

impl ToPaxValue for i16

Source§

impl ToPaxValue for i32

Source§

impl ToPaxValue for i64

Source§

impl ToPaxValue for isize

Source§

impl ToPaxValue for u8

Source§

impl ToPaxValue for u16

Source§

impl ToPaxValue for u32

Source§

impl ToPaxValue for u64

Source§

impl ToPaxValue for usize

Source§

impl ToPaxValue for String

Source§

impl ToPaxValue for PublishResponseSuccess

Source§

impl ToPaxValue for ResponseError

Source§

impl ToPaxValue for TemplateNodeId

Source§

impl ToPaxValue for TypeId

Source§

impl<T> ToPaxValue for Option<T>
where T: ToPaxValue,

Source§

impl<T> ToPaxValue for Rc<RefCell<T>>
where T: ToPaxValue + Clone,

Source§

impl<T> ToPaxValue for Vec<T>
where T: ToPaxValue,

Source§

impl<T> ToPaxValue for Range<T>
where T: ToPaxValue,

Implementors§