pub struct EuvTextProps {
pub text: &'static str,
pub variant: EuvTextVariant,
}Expand description
Props for the euv_text component.
Defines the strongly-typed interface for a run of text: the string itself and the typographic role it plays.
Fields§
§text: &'static strThe text to render.
variant: EuvTextVariantThe typographic role the text plays.
Trait Implementations§
Source§impl Clone for EuvTextProps
impl Clone for EuvTextProps
Source§impl Debug for EuvTextProps
impl Debug for EuvTextProps
Auto Trait Implementations§
impl Freeze for EuvTextProps
impl RefUnwindSafe for EuvTextProps
impl Send for EuvTextProps
impl Sync for EuvTextProps
impl Unpin for EuvTextProps
impl UnsafeUnpin for EuvTextProps
impl UnwindSafe for EuvTextProps
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