pub struct CardImageProps {
pub classes: Signal<String>,
pub test_attr: Option<TestAttr>,
pub children: Children,
}Expand description
Props for the CardImage component.
A fullwidth container for a responsive image. https://bulma.io/documentation/components/card/
§Required Props
- children:
Children- Typically contains a Bulma “image” container.
§Optional Props
- classes:
impl Into<Signal<String>>- Extra classes for the “card-image”.
- test_attr:
impl Into<TestAttr>-
Optional test attribute (renders as data-* attribute) on the
.When provided as a &str or String, this becomes
data-testid="value". You can also pass a fullTestAttrto override the attribute key.Fields§
§classes: Signal<String>§Extra classes for the “card-image”.
test_attr: Option<TestAttr>Optional test attribute (renders as data-* attribute) on the
.§When provided as a &str or String, this becomes
data-testid="value". You can also pass a fullTestAttrto override the attribute key.children: ChildrenTypically contains a Bulma “image” container.
Implementations§
Trait Implementations§
Auto Trait Implementations§
§ impl Freeze for CardImageProps
§ impl !RefUnwindSafe for CardImageProps
§ impl Send for CardImageProps
§ impl !Sync for CardImageProps
§ impl Unpin for CardImageProps
§ impl UnsafeUnpin for CardImageProps
§ impl !UnwindSafe for CardImageProps
Blanket Implementations§
Source§ impl<T> BorrowMut<T> for T
where T: ?Sized,Source§ fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§ impl<T> IntoEither for T
Source§ fn into_either(self, into_left: bool) -> Either<Self, Self>
Convertsselfinto aLeftvariant ofEither<Self, Self>ifinto_leftistrue. Convertsselfinto aRightvariant ofEither<Self, Self>otherwise. Read moreSource§ fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Convertsselfinto aLeftvariant ofEither<Self, Self>ifinto_left(&self)returnstrue. Convertsselfinto aRightvariant ofEither<Self, Self>otherwise. Read moreSource§ impl<T> SerializableKey for T
Source§ impl<T> StorageAccess<T> for T
Source§ fn as_borrowed(&self) -> &T
Borrows the value.Source§ fn into_taken(self) -> T
Takes the value.Source§ impl<S, T> Upcast<T> for S
-