Struct thaw::AvatarProps
source · pub struct AvatarProps {
pub src: MaybeSignal<String>,
pub round: MaybeSignal<bool>,
pub size: MaybeSignal<u16>,
pub class: MaybeSignal<String>,
}Fields§
§src: MaybeSignal<String>§round: MaybeSignal<bool>§size: MaybeSignal<u16>§class: MaybeSignal<String>Implementations§
source§impl AvatarProps
impl AvatarProps
sourcepub fn builder() -> AvatarPropsBuilder<((), (), (), ())>
pub fn builder() -> AvatarPropsBuilder<((), (), (), ())>
Create a builder for building AvatarProps.
On the builder, call .src(...)(optional), .round(...)(optional), .size(...)(optional), .class(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of AvatarProps.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AvatarProps
impl !Send for AvatarProps
impl !Sync for AvatarProps
impl Unpin for AvatarProps
impl !UnwindSafe for AvatarProps
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