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.
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 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, V> IntoOptPropValue<V> for T where
T: IntoPropValue<Option<V>>,
impl<T, V> IntoOptPropValue<V> for T where
T: IntoPropValue<Option<V>>,
pub fn into_opt_prop_value(self) -> Option<V>
impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
pub fn into_prop_value(self) -> Option<T>
impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
pub fn into_prop_value(self) -> T
impl<T> Any for T where
T: Any,
T: Any,
impl<T> CloneAny for T where
T: Any + Clone,
T: Any + Clone,