pub struct AssetBundlingOptions {
pub encryption_on: bool,
pub encryption_key: Option<[u8; 16]>,
pub enabled_on_debug_build: bool,
pub encode_file_names: bool,
pub asset_bundle_name: String,
}
Fields§
§encryption_on: bool
§encryption_key: Option<[u8; 16]>
§enabled_on_debug_build: bool
§encode_file_names: bool
§asset_bundle_name: String
Implementations§
source§impl AssetBundlingOptions
impl AssetBundlingOptions
pub fn set_encryption_key(&mut self, key: [u8; 16]) -> &mut Self
Trait Implementations§
source§impl Clone for AssetBundlingOptions
impl Clone for AssetBundlingOptions
source§fn clone(&self) -> AssetBundlingOptions
fn clone(&self) -> AssetBundlingOptions
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 AssetBundlingOptions
impl Debug for AssetBundlingOptions
source§impl Default for AssetBundlingOptions
impl Default for AssetBundlingOptions
source§impl From<AssetBundlingOptions> for AssetBundler
impl From<AssetBundlingOptions> for AssetBundler
source§fn from(options: AssetBundlingOptions) -> Self
fn from(options: AssetBundlingOptions) -> Self
Converts to this type from the input type.
source§impl From<AssetBundlingOptions> for BundledAssetIo
impl From<AssetBundlingOptions> for BundledAssetIo
source§fn from(options: AssetBundlingOptions) -> Self
fn from(options: AssetBundlingOptions) -> Self
Converts to this type from the input type.
source§impl From<AssetBundlingOptions> for BundledAssetIoPlugin
impl From<AssetBundlingOptions> for BundledAssetIoPlugin
source§fn from(options: AssetBundlingOptions) -> Self
fn from(options: AssetBundlingOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AssetBundlingOptions
impl Send for AssetBundlingOptions
impl Sync for AssetBundlingOptions
impl Unpin for AssetBundlingOptions
impl UnwindSafe for AssetBundlingOptions
Blanket Implementations§
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
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
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§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.§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.§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere T: Default,
§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates
Self
using data from the given [World]