pub struct ExtraHTMLData {
pub tag: CustomHtmlElementTag,
pub extra_style: Option<String>,
}Expand description
Per-command overrides for the DOM host element tag and inline CSS.
Fields§
§tag: CustomHtmlElementTagHTML tag for the host element (default CustomHtmlElementTag::Div).
extra_style: Option<String>Optional inline style attribute value applied before drawable CSS pushes.
Trait Implementations§
Source§impl Clone for ExtraHTMLData
impl Clone for ExtraHTMLData
Source§fn clone(&self) -> ExtraHTMLData
fn clone(&self) -> ExtraHTMLData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtraHTMLData
impl Debug for ExtraHTMLData
Source§impl Default for ExtraHTMLData
impl Default for ExtraHTMLData
Source§fn default() -> ExtraHTMLData
fn default() -> ExtraHTMLData
Returns the “default value” for a type. Read more
Source§impl OptionalExtraHTMLData for ExtraHTMLData
impl OptionalExtraHTMLData for ExtraHTMLData
Source§fn extra_html_data(&self) -> Option<ExtraHTMLData>
fn extra_html_data(&self) -> Option<ExtraHTMLData>
Returns host tag/style overrides, or
None for default div styling.Auto Trait Implementations§
impl Freeze for ExtraHTMLData
impl RefUnwindSafe for ExtraHTMLData
impl Send for ExtraHTMLData
impl Sync for ExtraHTMLData
impl Unpin for ExtraHTMLData
impl UnsafeUnpin for ExtraHTMLData
impl UnwindSafe for ExtraHTMLData
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§impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
Source§fn embed(self) -> RenderTList<H, TailTarget>
fn embed(self) -> RenderTList<H, TailTarget>
Converts
self into Target.