pub struct LegendAttributes {
Show 31 fields pub accesskey: Option<Option<String>>, pub autocapitalize: Option<Option<String>>, pub autofocus: Option<Option<String>>, pub class: Option<Option<String>>, pub contenteditable: Option<Option<String>>, pub dir: Option<Option<String>>, pub draggable: Option<Option<String>>, pub enterkeyhint: Option<Option<String>>, pub exportparts: Option<Option<String>>, pub hidden: Option<Option<String>>, pub id: Option<Option<String>>, pub inert: Option<Option<String>>, pub inputmode: Option<Option<String>>, pub is: Option<Option<String>>, pub itemid: Option<Option<String>>, pub itemprop: Option<Option<String>>, pub itemref: Option<Option<String>>, pub itemscope: Option<Option<String>>, pub itemtype: Option<Option<String>>, pub lang: Option<Option<String>>, pub nonce: Option<Option<String>>, pub part: Option<Option<String>>, pub popover: Option<Option<String>>, pub role: Option<Option<String>>, pub slot: Option<Option<String>>, pub spellcheck: Option<Option<String>>, pub style: Option<Option<String>>, pub tabindex: Option<Option<String>>, pub title: Option<Option<String>>, pub translate: Option<Option<String>>, pub virtualkeyboardpolicy: Option<Option<String>>,
}
Available on crate feature typed only.

Fields§

§accesskey: Option<Option<String>>§autocapitalize: Option<Option<String>>§autofocus: Option<Option<String>>§class: Option<Option<String>>§contenteditable: Option<Option<String>>§dir: Option<Option<String>>§draggable: Option<Option<String>>§enterkeyhint: Option<Option<String>>§exportparts: Option<Option<String>>§hidden: Option<Option<String>>§id: Option<Option<String>>§inert: Option<Option<String>>§inputmode: Option<Option<String>>§is: Option<Option<String>>§itemid: Option<Option<String>>§itemprop: Option<Option<String>>§itemref: Option<Option<String>>§itemscope: Option<Option<String>>§itemtype: Option<Option<String>>§lang: Option<Option<String>>§nonce: Option<Option<String>>§part: Option<Option<String>>§popover: Option<Option<String>>§role: Option<Option<String>>§slot: Option<Option<String>>§spellcheck: Option<Option<String>>§style: Option<Option<String>>§tabindex: Option<Option<String>>§title: Option<Option<String>>§translate: Option<Option<String>>§virtualkeyboardpolicy: Option<Option<String>>

Trait Implementations§

source§

impl Clone for LegendAttributes

source§

fn clone(&self) -> LegendAttributes

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LegendAttributes

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for LegendAttributes

source§

fn default() -> LegendAttributes

Returns the “default value” for a type. Read more
source§

impl TypedAttributes for LegendAttributes

source§

fn into_attributes(self) -> Vec<(String, Option<String>), Global>

Convert the typed attributes into a set of attributes.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for Twhere T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.