Enum pax_runtime_api::IntoableLiteral
source · pub enum IntoableLiteral {
Color(Color),
Percent(Percent),
Numeric(Numeric),
}Variants§
Trait Implementations§
source§impl Clone for IntoableLiteral
impl Clone for IntoableLiteral
source§fn clone(&self) -> IntoableLiteral
fn clone(&self) -> IntoableLiteral
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 moresource§impl From<IntoableLiteral> for ColorChannel
impl From<IntoableLiteral> for ColorChannel
source§fn from(value: IntoableLiteral) -> Self
fn from(value: IntoableLiteral) -> Self
Converts to this type from the input type.
source§impl From<IntoableLiteral> for Numeric
impl From<IntoableLiteral> for Numeric
source§fn from(value: IntoableLiteral) -> Self
fn from(value: IntoableLiteral) -> Self
Converts to this type from the input type.
source§impl From<IntoableLiteral> for Rotation
impl From<IntoableLiteral> for Rotation
source§fn from(value: IntoableLiteral) -> Self
fn from(value: IntoableLiteral) -> Self
Converts to this type from the input type.
source§impl From<IntoableLiteral> for Size
impl From<IntoableLiteral> for Size
source§fn from(value: IntoableLiteral) -> Self
fn from(value: IntoableLiteral) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntoableLiteral
impl RefUnwindSafe for IntoableLiteral
impl Send for IntoableLiteral
impl Sync for IntoableLiteral
impl Unpin for IntoableLiteral
impl UnwindSafe for IntoableLiteral
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.