pub struct AssetIoZipConfig {
pub file_name: String,
}
Expand description
Configuration resource fro the AssetIoZipPlugin
Fields§
§file_name: String
The name of the assset bundle file to load from, excluding the extension.
The actual file read will be the filename plus either a .zip
or a .bin
extension,
whichever is present. If the [file_name].zip
file is found it will load the file as a
normal zip, if the [file_name].bin
file is found, it will attempt to load it as an
obfuscated zip by first XOR-ing the contents of the file by 0b01010101
.
Trait Implementations§
Source§impl Clone for AssetIoZipConfig
impl Clone for AssetIoZipConfig
Source§fn clone(&self) -> AssetIoZipConfig
fn clone(&self) -> AssetIoZipConfig
Returns a duplicate 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 AssetIoZipConfig
impl Debug for AssetIoZipConfig
Auto Trait Implementations§
impl Freeze for AssetIoZipConfig
impl RefUnwindSafe for AssetIoZipConfig
impl Send for AssetIoZipConfig
impl Sync for AssetIoZipConfig
impl Unpin for AssetIoZipConfig
impl UnwindSafe for AssetIoZipConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> FromResources for Twhere
T: Default,
impl<T> FromResources for Twhere
T: Default,
Source§fn from_resources(_resources: &Resources) -> T
fn from_resources(_resources: &Resources) -> T
Creates
Self
using data from the Resources
collection