#[non_exhaustive]pub enum AssetClass {
Native,
Other(AssetId),
InvalidNativeChain,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for AssetClass
impl Clone for AssetClass
Source§fn clone(&self) -> AssetClass
fn clone(&self) -> AssetClass
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 AssetClass
impl Debug for AssetClass
Source§impl Hash for AssetClass
impl Hash for AssetClass
Source§impl Ord for AssetClass
impl Ord for AssetClass
Source§fn cmp(&self, other: &AssetClass) -> Ordering
fn cmp(&self, other: &AssetClass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AssetClass
impl PartialEq for AssetClass
Source§impl PartialOrd for AssetClass
impl PartialOrd for AssetClass
impl Eq for AssetClass
impl StructuralPartialEq for AssetClass
Auto Trait Implementations§
impl Freeze for AssetClass
impl RefUnwindSafe for AssetClass
impl Send for AssetClass
impl Sync for AssetClass
impl Unpin for AssetClass
impl UnwindSafe for AssetClass
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