Struct phosphor_leptos::EggCrackProps
source · pub struct EggCrackProps {
pub weight: MaybeSignal<IconWeight>,
pub size: TextProp,
pub color: TextProp,
pub mirrored: MaybeSignal<bool>,
pub id: MaybeProp<TextProp>,
pub class: MaybeProp<TextProp>,
}Expand description
Props for the EggCrack component.
§Optional Props
- weight:
impl Into<MaybeSignal<IconWeight>> - size:
impl Into<TextProp> - color:
impl Into<TextProp> - mirrored:
impl Into<MaybeSignal<bool>> - id:
impl Into<MaybeProp<TextProp>> - class:
impl Into<MaybeProp<TextProp>>
Fields§
§weight: MaybeSignal<IconWeight>§size: TextProp§color: TextProp§mirrored: MaybeSignal<bool>§id: MaybeProp<TextProp>§class: MaybeProp<TextProp>Implementations§
source§impl EggCrackProps
impl EggCrackProps
sourcepub fn builder() -> EggCrackPropsBuilder<((), (), (), (), (), ())>
pub fn builder() -> EggCrackPropsBuilder<((), (), (), (), (), ())>
Create a builder for building EggCrackProps.
On the builder, call .weight(...)(optional), .size(...)(optional), .color(...)(optional), .mirrored(...)(optional), .id(...)(optional), .class(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of EggCrackProps.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EggCrackProps
impl !RefUnwindSafe for EggCrackProps
impl !Send for EggCrackProps
impl !Sync for EggCrackProps
impl Unpin for EggCrackProps
impl !UnwindSafe for EggCrackProps
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more