pub struct ImageProps {Show 25 fields
pub src: AttrValue,
pub alt: Option<AttrValue>,
pub width: Option<AttrValue>,
pub height: Option<AttrValue>,
pub fluid: bool,
pub thumbnail: bool,
pub rounded: Option<ImageRounded>,
pub float_start: bool,
pub float_end: bool,
pub float_sm_start: bool,
pub float_sm_end: bool,
pub float_md_start: bool,
pub float_md_end: bool,
pub float_lg_start: bool,
pub float_lg_end: bool,
pub float_xl_start: bool,
pub float_xl_end: bool,
pub float_xxl_start: bool,
pub float_xxl_end: bool,
pub class: Option<AttrValue>,
pub node_ref: NodeRef,
pub loading: Option<ImageLoading>,
pub decoding: Option<ImageDecoding>,
pub title: Option<AttrValue>,
pub onclick: Option<Callback<MouseEvent>>,
}Fields§
§src: AttrValue§alt: Option<AttrValue>§width: Option<AttrValue>§height: Option<AttrValue>§fluid: bool§thumbnail: bool§rounded: Option<ImageRounded>§float_start: bool§float_end: bool§float_sm_start: bool§float_sm_end: bool§float_md_start: bool§float_md_end: bool§float_lg_start: bool§float_lg_end: bool§float_xl_start: bool§float_xl_end: bool§float_xxl_start: bool§float_xxl_end: bool§class: Option<AttrValue>§node_ref: NodeRef§loading: Option<ImageLoading>§decoding: Option<ImageDecoding>§title: Option<AttrValue>§onclick: Option<Callback<MouseEvent>>Trait Implementations§
Source§impl PartialEq for ImageProps
impl PartialEq for ImageProps
Source§impl Properties for ImageProps
impl Properties for ImageProps
impl StructuralPartialEq for ImageProps
Auto Trait Implementations§
impl Freeze for ImageProps
impl !RefUnwindSafe for ImageProps
impl !Send for ImageProps
impl !Sync for ImageProps
impl Unpin for ImageProps
impl !UnwindSafe for ImageProps
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> 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.