pub struct Image {
pub src: String,
pub id: ImageId,
pub at: Origin,
}Expand description
An Image’s file: its address in the served folder and which
ImageFile in the scene it shows.
Fields§
§src: StringThe image file’s path from the top of the served folder.
id: ImageIdThe ImageFile it shows, by its id in the scene’s images.
at: OriginWhere src was written.
Trait Implementations§
impl StructuralPartialEq for Image
Auto Trait Implementations§
impl Forget for Image
impl Freeze for Image
impl Move for Image
impl RefUnwindSafe for Image
impl Send for Imagewhere
RawVecInner: Send,
impl Sync for Imagewhere
RawVecInner: Sync,
impl Unpin for Image
impl UnsafeUnpin for Image
impl UnwindSafe for Imagewhere
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