[][src]Struct ybc::ModalProps

pub struct ModalProps {
    pub id: String,
    pub children: Children,
    pub trigger: Html,
    pub classes: Option<String>,


id: String

The ID of this modal, used for triggering close events from other parts of the app.

children: Children

The content of the "modal-content" element.

trigger: Html

The contents of the modal trigger, typically a button or the like.

classes: Option<String>

Trait Implementations

impl Clone for ModalProps[src]

impl Debug for ModalProps[src]

impl PartialEq<ModalProps> for ModalProps[src]

impl Properties for ModalProps[src]

type Builder = ModalPropsBuilder<ModalPropsBuilderStep_missing_required_prop_id>

Builder that will be used to construct properties

impl StructuralPartialEq for ModalProps[src]

Auto Trait Implementations

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.