pub struct Text {
pub editable: Property<bool>,
pub text: Property<String>,
pub style: Property<TextStyle>,
pub _style_link: Property<TextStyle>,
}Expand description
Renders text in a platform-native way
Fields§
§editable: Property<bool>§text: Property<String>§style: Property<TextStyle>§_style_link: Property<TextStyle>Trait Implementations§
source§impl CoercionRules for Text
impl CoercionRules for Text
source§impl<'de> Deserialize<'de> for Text
impl<'de> Deserialize<'de> for Text
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl HelperFunctions for Text
impl HelperFunctions for Text
source§impl Interpolatable for Text
impl Interpolatable for Text
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl ToPaxValue for Text
impl ToPaxValue for Text
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for Text
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.