pub struct ElmInlineTextProps {
pub text: String,
pub bold: bool,
pub italic: bool,
pub underline: bool,
pub strikethrough: bool,
pub code: bool,
pub color: Option<String>,
}
Fields§
§text: String
§bold: bool
§italic: bool
§underline: bool
§strikethrough: bool
§code: bool
§color: Option<String>
Trait Implementations§
Source§impl Clone for ElmInlineTextProps
impl Clone for ElmInlineTextProps
Source§fn clone(&self) -> ElmInlineTextProps
fn clone(&self) -> ElmInlineTextProps
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ElmInlineTextProps
impl RefUnwindSafe for ElmInlineTextProps
impl Send for ElmInlineTextProps
impl Sync for ElmInlineTextProps
impl Unpin for ElmInlineTextProps
impl UnwindSafe for ElmInlineTextProps
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