pub enum BinaryAssetType {
Image,
Resource,
Unknown,
}Expand description
Binary asset type discriminator. Use “image” for images and “resource” otherwise.
Variants§
Image
Binary image data.
Resource
Other binary resource data.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for BinaryAssetType
impl Clone for BinaryAssetType
Source§fn clone(&self) -> BinaryAssetType
fn clone(&self) -> BinaryAssetType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BinaryAssetType
impl Debug for BinaryAssetType
Source§impl Default for BinaryAssetType
impl Default for BinaryAssetType
Source§fn default() -> BinaryAssetType
fn default() -> BinaryAssetType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BinaryAssetType
impl<'de> Deserialize<'de> for BinaryAssetType
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
impl Eq for BinaryAssetType
Source§impl PartialEq for BinaryAssetType
impl PartialEq for BinaryAssetType
Source§fn eq(&self, other: &BinaryAssetType) -> bool
fn eq(&self, other: &BinaryAssetType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BinaryAssetType
impl Serialize for BinaryAssetType
impl StructuralPartialEq for BinaryAssetType
Auto Trait Implementations§
impl Freeze for BinaryAssetType
impl RefUnwindSafe for BinaryAssetType
impl Send for BinaryAssetType
impl Sync for BinaryAssetType
impl Unpin for BinaryAssetType
impl UnsafeUnpin for BinaryAssetType
impl UnwindSafe for BinaryAssetType
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