[][src]Struct ybc::HeroProps

pub struct HeroProps {
    pub classes: Option<String>,
    pub head: Option<Html>,
    pub body: Html,
    pub foot: Option<Html>,
    pub fixed_nav: bool,
    pub bold: bool,
    pub size: Option<HeroSize>,
}

Fields

classes: Option<String>

Extra classes for the hero container.

head: Option<Html>

The contents of the hero-head section.

body: Html

The contents of the hero-body section.

foot: Option<Html>

The contents of the hero-foot section.

fixed_nav: bool

If you are using a fixed navbar, you can use the fixed_nav=true modifier on the hero for it to occupy the viewport height minus the navbar height.

https://bulma.io/documentation/layout/hero/#fullheight-with-navbar

bold: bool

Generate a subtle gradient for the hero.

size: Option<HeroSize>

The size for this hero.

Trait Implementations

impl Clone for HeroProps[src]

impl Debug for HeroProps[src]

impl PartialEq<HeroProps> for HeroProps[src]

impl Properties for HeroProps[src]

type Builder = HeroPropsBuilder<HeroPropsBuilderStep_missing_required_prop_body>

Builder that will be used to construct properties

impl StructuralPartialEq for HeroProps[src]

Auto Trait Implementations

impl !RefUnwindSafe for HeroProps

impl !Send for HeroProps

impl !Sync for HeroProps

impl Unpin for HeroProps

impl !UnwindSafe for HeroProps

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.