pub struct ImageProps {
pub source: String,
pub revision: u64,
pub alternative: Option<String>,
pub responsive: ResponsiveImage,
pub loading: ImageLoading,
}Fields§
§source: String§revision: u64Monotonic program request identity, independent of URL equality.
alternative: Option<String>None is explicitly decorative; Some(“”) is an empty description.
responsive: ResponsiveImage§loading: ImageLoadingTrait Implementations§
Source§impl Clone for ImageProps
impl Clone for ImageProps
Source§impl Debug for ImageProps
impl Debug for ImageProps
Source§impl Default for ImageProps
impl Default for ImageProps
impl Eq for ImageProps
Source§impl PartialEq for ImageProps
impl PartialEq for ImageProps
impl StructuralPartialEq for ImageProps
Auto Trait Implementations§
impl Forget for ImageProps
impl Freeze for ImageProps
impl RefUnwindSafe for ImageProps
impl Send for ImageProps
impl Sync for ImageProps
impl Unpin for ImageProps
impl UnsafeUnpin 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