[][src]Struct ybc::TagProps

pub struct TagProps {
    pub children: Children,
    pub classes: Option<String>,
    pub tag: String,
    pub onclick: Callback<MouseEvent>,
    pub rounded: bool,
    pub delete: bool,
    pub size: Option<Size>,
}

Fields

children: Childrenclasses: Option<String>tag: String

The HTML tag to use for this component.

onclick: Callback<MouseEvent>

The click handler for this component.

rounded: bool

Make this tag rounded.

delete: bool

Turn this tag into a delete button.

size: Option<Size>

The size for this component.

Trait Implementations

impl Clone for TagProps[src]

impl Debug for TagProps[src]

impl PartialEq<TagProps> for TagProps[src]

impl Properties for TagProps[src]

type Builder = TagPropsBuilder<TagPropsBuilderStep_build>

Builder that will be used to construct properties

impl StructuralPartialEq for TagProps[src]

Auto Trait Implementations

impl !RefUnwindSafe for TagProps

impl !Send for TagProps

impl !Sync for TagProps

impl Unpin for TagProps

impl !UnwindSafe for TagProps

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

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>, 
[src]

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

impl<T, U> NeqAssignBy<U> for T where
    T: BorrowMut<U>, 
[src]

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.