pub struct Scene {
pub files: Vec<(Vec<u8>, Vec<u8>)>,
pub resolver: Vec<(Vec<u8>, Vec<u8>)>,
}Expand description
Named files, as a caller would load them.
Fields§
§files: Vec<(Vec<u8>, Vec<u8>)>(name, bytes) in load order.
resolver: Vec<(Vec<u8>, Vec<u8>)>(name, bytes) a resolver may return (UnityPy’s env.path): a
find_file or a resource fallback asking for exactly name gets the
file (UnityPy’s case-insensitive search never matches a name without
a directory, helpers/ImportHelper.py:159-173).
Trait Implementations§
impl Eq for Scene
impl StructuralPartialEq for Scene
Auto Trait Implementations§
impl Forget for Scene
impl Freeze for Scene
impl Move for Scene
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnsafeUnpin for Scene
impl UnwindSafe for Scene
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