pub struct ScratchFile {
pub project: Project,
pub images: HashMap<String, Image>,
}
Expand description
Represents the data inside a Scratch 3.0 (.sb3
) file.
Fields§
§project: Project
§images: HashMap<String, Image>
Maps filename to image
Implementations§
Source§impl ScratchFile
impl ScratchFile
Trait Implementations§
Source§impl Clone for ScratchFile
impl Clone for ScratchFile
Source§fn clone(&self) -> ScratchFile
fn clone(&self) -> ScratchFile
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScratchFile
impl Debug for ScratchFile
Source§impl Default for ScratchFile
impl Default for ScratchFile
Source§fn default() -> ScratchFile
fn default() -> ScratchFile
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScratchFile
impl PartialEq for ScratchFile
impl StructuralPartialEq for ScratchFile
Auto Trait Implementations§
impl Freeze for ScratchFile
impl RefUnwindSafe for ScratchFile
impl Send for ScratchFile
impl Sync for ScratchFile
impl Unpin for ScratchFile
impl UnwindSafe for ScratchFile
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