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: StringAn html element type to render as root element.
bordered: boolFormatted to appear bordered.
circular: boolIcon 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: boolShow that the icon is inactive.
fitted: boolFitted, without space to left or right of Icon.
flipped: Option<Flip>Icon can be flipped.
inverted: boolFormatted to have its colors inverted for contrast.
link: boolIcon can be formatted as a link.
loading: boolIcon can be used as a simple loader.
name: StringName 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: ChildrenChildren 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 Tpub fn into_prop_value(self) -> Option<T>
impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for Tpub 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,