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 ImagePropswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ImageCandidate>: Freeze,
PhantomData<ImageSizeHint>: Freeze,
impl Move for ImageProps
impl RefUnwindSafe for ImageProps
impl Send for ImagePropswhere
RawVecInner: Send,
impl Sync for ImagePropswhere
RawVecInner: Sync,
impl Unpin for ImageProps
impl UnsafeUnpin for ImagePropswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ImageCandidate>: UnsafeUnpin,
PhantomData<ImageSizeHint>: UnsafeUnpin,
impl UnwindSafe for ImagePropswhere
RawVecInner: UnwindSafe,
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