Trait cushy::value::IntoValue

source ·
pub trait IntoValue<T> {
    // Required method
    fn into_value(self) -> Value<T>;
}
Expand description

A type that can be converted into a Value.

Required Methods§

source

fn into_value(self) -> Value<T>

Returns this type as a Value.

Implementations on Foreign Types§

source§

impl IntoValue<Dimension> for Lp

source§

impl IntoValue<Dimension> for Px

source§

impl IntoValue<FlexibleDimension> for Lp

source§

impl IntoValue<FlexibleDimension> for Px

source§

impl IntoValue<CornerRadii<Dimension>> for Lp

source§

impl IntoValue<CornerRadii<Dimension>> for Px

source§

impl IntoValue<Edges> for Lp

source§

impl IntoValue<Edges> for Px

source§

impl IntoValue<Edges<Dimension>> for Lp

source§

impl IntoValue<Edges<Dimension>> for Px

source§

impl IntoValue<FontFamilyList> for Vec<FamilyOwned>

source§

impl IntoValue<ContainerShadow> for Point<Dimension>

source§

impl IntoValue<ContainerShadow> for Point<Lp>

source§

impl IntoValue<ContainerShadow> for Point<Px>

source§

impl IntoValue<CowString> for &str

source§

impl IntoValue<CowString> for char

source§

impl IntoValue<CowString> for String

source§

impl IntoValue<MaskedString> for &str

source§

impl IntoValue<MaskedString> for char

source§

impl IntoValue<MaskedString> for String

source§

impl IntoValue<AnyTexture> for CollectedTexture

source§

fn into_value(self) -> Value<AnyTexture>

source§

impl IntoValue<AnyTexture> for LazyTexture

source§

fn into_value(self) -> Value<AnyTexture>

source§

impl IntoValue<AnyTexture> for SharedTexture

source§

fn into_value(self) -> Value<AnyTexture>

source§

impl IntoValue<AnyTexture> for Texture

source§

fn into_value(self) -> Value<AnyTexture>

source§

impl IntoValue<AnyTexture> for TextureRegion

source§

fn into_value(self) -> Value<AnyTexture>

source§

impl<'a> IntoValue<String> for &'a str

Implementors§