pub struct AvatarBuilder {
pub fallback: Option<&'static str>,
pub status: Option<&'static str>,
pub class: Option<&'static str>,
pub children: Option<Vec<NodeBlueprint>>,
pub __strata_key: Option<String>,
}Fields§
§fallback: Option<&'static str>§status: Option<&'static str>§class: Option<&'static str>§children: Option<Vec<NodeBlueprint>>§__strata_key: Option<String>Implementations§
Source§impl AvatarBuilder
impl AvatarBuilder
pub fn fallback(self, val: impl Into<&'static str>) -> Self
pub fn status(self, val: impl Into<Option<&'static str>>) -> Self
pub fn class(self, val: impl Into<Option<&'static str>>) -> Self
pub fn children(self, children: Vec<NodeBlueprint>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AvatarBuilder
impl !Send for AvatarBuilder
impl !Sync for AvatarBuilder
impl !UnwindSafe for AvatarBuilder
impl Forget for AvatarBuilder
impl Freeze for AvatarBuilder
impl Move for AvatarBuilder
impl Unpin for AvatarBuilder
impl UnsafeUnpin for AvatarBuilder
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