pub struct AssetBundleId(/* private fields */);Implementations§
Source§impl AssetBundleId
impl AssetBundleId
pub fn new(value: impl Into<SmolStr>) -> Self
pub fn app(name: impl Into<SmolStr>) -> Self
pub fn package(name: impl Into<SmolStr>) -> Self
pub fn as_str(&self) -> &str
pub fn namespace(&self) -> Option<AssetBundleNamespace>
pub fn local_name(&self) -> &str
pub fn is_scoped(&self) -> bool
Trait Implementations§
Source§impl Clone for AssetBundleId
impl Clone for AssetBundleId
Source§fn clone(&self) -> AssetBundleId
fn clone(&self) -> AssetBundleId
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 AssetBundleId
impl Debug for AssetBundleId
Source§impl<'de> Deserialize<'de> for AssetBundleId
impl<'de> Deserialize<'de> for AssetBundleId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&str> for AssetBundleId
impl From<&str> for AssetBundleId
Source§impl From<SmolStr> for AssetBundleId
impl From<SmolStr> for AssetBundleId
Source§impl From<String> for AssetBundleId
impl From<String> for AssetBundleId
Source§impl Hash for AssetBundleId
impl Hash for AssetBundleId
Source§impl PartialEq for AssetBundleId
impl PartialEq for AssetBundleId
Source§impl Serialize for AssetBundleId
impl Serialize for AssetBundleId
impl Eq for AssetBundleId
impl StructuralPartialEq for AssetBundleId
Auto Trait Implementations§
impl Freeze for AssetBundleId
impl RefUnwindSafe for AssetBundleId
impl Send for AssetBundleId
impl Sync for AssetBundleId
impl Unpin for AssetBundleId
impl UnsafeUnpin for AssetBundleId
impl UnwindSafe for AssetBundleId
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