pub struct Picture {
pub set: String,
pub name: String,
pub file: PathBuf,
pub bytes: Arc<Vec<u8>>,
}Expand description
One picture of a .yres set.
Fields§
§set: StringIts set (Images for Images.yres) and name: @Images.gui.logo.
name: String§file: PathBufThe .yres file it’s in.
bytes: Arc<Vec<u8>>The picture, as stored.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Picture
Auto Trait Implementations§
impl Freeze for Picture
impl RefUnwindSafe for Picture
impl Send for Picture
impl Sync for Picture
impl Unpin for Picture
impl UnsafeUnpin for Picture
impl UnwindSafe for Picture
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