Trait pax_kit::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 bultin 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 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<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§

source§

impl ToPaxValue for Size

source§

impl ToPaxValue for Font

source§

impl ToPaxValue for FontStyle

source§

impl ToPaxValue for FontWeight

source§

impl ToPaxValue for ImageFit

source§

impl ToPaxValue for ImageSource

source§

impl ToPaxValue for PathElement

source§

impl ToPaxValue for ResizableDirection

source§

impl ToPaxValue for StackerDirection

source§

impl ToPaxValue for Target

source§

impl ToPaxValue for TextAlignHorizontal

source§

impl ToPaxValue for TextAlignVertical

source§

impl ToPaxValue for PaxType

source§

impl ToPaxValue for Color

source§

impl ToPaxValue for ColorChannel

source§

impl ToPaxValue for Fill

source§

impl ToPaxValue for Numeric

source§

impl ToPaxValue for PaxValue

source§

impl ToPaxValue for Rotation

source§

impl ToPaxValue for Transform2

source§

impl ToPaxValue for Vector2

source§

impl ToPaxValue for TemplateNodeId

source§

impl ToPaxValue for TypeId

source§

impl ToPaxValue for GradientStop

source§

impl ToPaxValue for LinearGradient

source§

impl ToPaxValue for Percent

source§

impl ToPaxValue for RadialGradient

source§

impl ToPaxValue for Stroke

source§

impl ToPaxValue for Transform2D

source§

impl ToPaxValue for ConditionalProperties

source§

impl ToPaxValue for RepeatItem

source§

impl ToPaxValue for RepeatProperties

source§

impl ToPaxValue for BlankComponent

source§

impl ToPaxValue for Button

source§

impl ToPaxValue for Cell

source§

impl ToPaxValue for Checkbox

source§

impl ToPaxValue for Col

source§

impl ToPaxValue for ConfirmationDialog

source§

impl ToPaxValue for Dropdown

source§

impl ToPaxValue for Ellipse

source§

impl ToPaxValue for EventBlocker

source§

impl ToPaxValue for Frame

source§

impl ToPaxValue for Group

source§

impl ToPaxValue for Image

source§

impl ToPaxValue for Path

source§

impl ToPaxValue for PathClose

source§

impl ToPaxValue for PathCurve

source§

impl ToPaxValue for PathLine

source§

impl ToPaxValue for PathPoint

source§

impl ToPaxValue for PlatformSpecificScrollParams

source§

impl ToPaxValue for Point

source§

impl ToPaxValue for RadioSet

source§

impl ToPaxValue for Rectangle

source§

impl ToPaxValue for RectangleCornerRadii

source§

impl ToPaxValue for Resizable

source§

impl ToPaxValue for Row

source§

impl ToPaxValue for Scrollbar

source§

impl ToPaxValue for Scroller

source§

impl ToPaxValue for Section

source§

impl ToPaxValue for Slider

source§

impl ToPaxValue for Span

source§

impl ToPaxValue for Stacker

source§

impl ToPaxValue for StackerCell

source§

impl ToPaxValue for Table

source§

impl ToPaxValue for Tabs

source§

impl ToPaxValue for Text

source§

impl ToPaxValue for TextStyle

source§

impl ToPaxValue for Textbox

source§

impl ToPaxValue for Toast

source§

impl<T> ToPaxValue for Property<T>