Struct yemantic_ui::collections::icon::IconProps[][src]

pub struct IconProps {
Show fields pub root: String, pub bordered: bool, pub circular: bool, pub class_name: Option<String>, pub color: Option<Colors>, pub corner: Either<bool, IconCorner>, pub disabled: bool, pub fitted: bool, pub flipped: Option<Flip>, pub inverted: bool, pub link: bool, pub loading: bool, pub name: String, pub rotated: Option<IconRotate>, pub size: Option<IconSize>, pub aria_hidden: Option<String>, pub aria_label: Option<String>, pub children: Children, pub onclick: Callback<MouseEvent>,
}

Fields

root: String

An html element type to render as root element.

bordered: bool

Formatted to appear bordered.

circular: bool

Icon can formatted to appear circular.

class_name: Option<String>

Additional classes.

color: Option<Colors>

Color of the icon.

corner: Either<bool, IconCorner>

Icons can display a smaller corner icon.

disabled: bool

Show that the icon is inactive.

fitted: bool

Fitted, without space to left or right of Icon.

flipped: Option<Flip>

Icon can be flipped.

inverted: bool

Formatted to have its colors inverted for contrast.

link: bool

Icon can be formatted as a link.

loading: bool

Icon can be used as a simple loader.

name: String

Name of the icon.

rotated: Option<IconRotate>

Icon can rotated.

size: Option<IconSize>

Size of the icon.

aria_hidden: Option<String>

Icon can have an aria label.

aria_label: Option<String>

Icon can have an aria label.

children: Children

Children element.

onclick: Callback<MouseEvent>

Trait Implementations

impl Clone for IconProps[src]

impl Debug for IconProps[src]

impl PartialEq<IconProps> for IconProps[src]

impl Properties for IconProps[src]

type Builder = IconPropsBuilder<IconPropsBuilderStep_missing_required_prop_name>

Builder that will be used to construct properties

impl StructuralPartialEq for IconProps[src]

Auto Trait Implementations

impl !RefUnwindSafe for IconProps

impl !Send for IconProps

impl !Sync for IconProps

impl Unpin for IconProps

impl !UnwindSafe for IconProps

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, V> IntoOptPropValue<V> for T where
    T: IntoPropValue<Option<V>>, 

impl<T> IntoPropValue<Option<T>> for T

impl<T> IntoPropValue<T> for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: Any

impl<T> CloneAny for T where
    T: Any + Clone