[][src]Struct ybc::IconProps

pub struct IconProps {
    pub children: Children,
    pub classes: Option<String>,
    pub onclick: Callback<MouseEvent>,
    pub size: Option<Size>,
    pub alignment: Option<Alignment>,


children: Childrenclasses: Option<String>onclick: Callback<MouseEvent>

The click handler to use for this component.

size: Option<Size>

The size of this component; to help prevent page "jumps" during load.

alignment: Option<Alignment>

The alignment of this icon, often used within form controls.

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_build>

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

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

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

impl<T, U> NeqAssign<U> for T where
    T: BorrowMut<U>,
    U: PartialEq<U>, 

impl<T, U> NeqAssignBy<U> for T where
    T: BorrowMut<U>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.