pub struct ResponsiveImage {
pub candidates: Vec<ImageCandidate>,
pub sizes: Vec<ImageSizeHint>,
}Fields§
§candidates: Vec<ImageCandidate>§sizes: Vec<ImageSizeHint>Implementations§
Trait Implementations§
Source§impl Clone for ResponsiveImage
impl Clone for ResponsiveImage
Source§impl Debug for ResponsiveImage
impl Debug for ResponsiveImage
Source§impl Default for ResponsiveImage
impl Default for ResponsiveImage
impl Eq for ResponsiveImage
Source§impl PartialEq for ResponsiveImage
impl PartialEq for ResponsiveImage
impl StructuralPartialEq for ResponsiveImage
Auto Trait Implementations§
impl Forget for ResponsiveImage
impl Freeze for ResponsiveImagewhere
*const u8 is !null: Freeze,
PhantomData<ImageCandidate>: Freeze,
PhantomData<ImageSizeHint>: Freeze,
impl Move for ResponsiveImage
impl RefUnwindSafe for ResponsiveImage
impl Send for ResponsiveImagewhere
RawVecInner: Send,
impl Sync for ResponsiveImagewhere
RawVecInner: Sync,
impl Unpin for ResponsiveImage
impl UnsafeUnpin for ResponsiveImagewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ImageCandidate>: UnsafeUnpin,
PhantomData<ImageSizeHint>: UnsafeUnpin,
impl UnwindSafe for ResponsiveImagewhere
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