pub struct CardHeaderBuilder {
pub title: Option<&'static str>,
pub description: Option<&'static str>,
pub children: Option<Vec<NodeBlueprint>>,
pub class: Option<&'static str>,
pub __strata_key: Option<String>,
}Fields§
§title: Option<&'static str>§description: Option<&'static str>§children: Option<Vec<NodeBlueprint>>§class: Option<&'static str>§__strata_key: Option<String>Implementations§
Source§impl CardHeaderBuilder
impl CardHeaderBuilder
pub fn title(self, val: impl Into<Option<&'static str>>) -> Self
pub fn description(self, val: impl Into<Option<&'static str>>) -> Self
pub fn children( self, val: impl IntoChildren<Option<Vec<NodeBlueprint>>>, ) -> Self
pub fn class(self, val: impl Into<Option<&'static str>>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CardHeaderBuilder
impl !Send for CardHeaderBuilder
impl !Sync for CardHeaderBuilder
impl !UnwindSafe for CardHeaderBuilder
impl Forget for CardHeaderBuilder
impl Freeze for CardHeaderBuilder
impl Move for CardHeaderBuilder
impl Unpin for CardHeaderBuilder
impl UnsafeUnpin for CardHeaderBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more