Struct yew_bootstrap::component::LinkProps
source · pub struct LinkProps {
pub class: String,
pub children: Children,
pub stretched: bool,
pub style: Option<Color>,
pub text: String,
}Expand description
Properties for Link
Fields§
§class: StringCSS class
children: ChildrenChildren
stretched: boolStretched if true, making its parent container clickable
style: Option<Color>Color style
text: StringOptional text for the link
Trait Implementations§
source§impl PartialEq for LinkProps
impl PartialEq for LinkProps
source§impl Properties for LinkProps
impl Properties for LinkProps
impl StructuralPartialEq for LinkProps
Auto Trait Implementations§
impl !RefUnwindSafe for LinkProps
impl !Send for LinkProps
impl !Sync for LinkProps
impl Unpin for LinkProps
impl !UnwindSafe for LinkProps
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.