Enum pax_engine::api::PaxValue
source · pub enum PaxValue {
}Expand description
Container for all internal pax types Two important traits are related to this type: ToFromPaxValue - responsible for converting to and from specific types (u8, String, Color, etc) CoercionRules - responsible for coercing a PaxValue to a specific type (possibly from multiple different variants)
Variants§
Bool(bool)
Numeric(Numeric)
String(String)
Transform2D(Transform2D)
Size(Size)
Percent(Percent)
Color(Color)
ColorChannel(ColorChannel)
Rotation(Rotation)
Fill(Fill)
Stroke(Stroke)
Vec(Vec<PaxAny>)
Component
Trait Implementations§
source§impl PartialEq for PaxValue
impl PartialEq for PaxValue
Auto Trait Implementations§
impl Freeze for PaxValue
impl !RefUnwindSafe for PaxValue
impl !Send for PaxValue
impl !Sync for PaxValue
impl Unpin for PaxValue
impl !UnwindSafe for PaxValue
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
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.