pub struct ImageSet<'a> {
pub images: Vec<Image<'a>>,
pub info: Info<'a>,
}Expand description
Represents the JSON-serialized data structure that is contained within an image set in an asset catalog.
Fields§
§images: Vec<Image<'a>>A set of alternative images for this image set. For example, multiple images can be provided to support different screen DPIs.
info: Info<'a>Contains metadata about this image set.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ImageSet<'a>
impl<'a> RefUnwindSafe for ImageSet<'a>
impl<'a> Send for ImageSet<'a>
impl<'a> Sync for ImageSet<'a>
impl<'a> Unpin for ImageSet<'a>
impl<'a> UnwindSafe for ImageSet<'a>
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