Enum RecipeTrimPattern
#[non_exhaustive]pub enum RecipeTrimPattern {
Reference(String),
Inline {
asset_id: String,
description: Tag,
decal: bool,
},
}Expand description
A trim pattern registry reference or an inline pattern definition.
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§
§impl Clone for RecipeTrimPattern
impl Clone for RecipeTrimPattern
§fn clone(&self) -> RecipeTrimPattern
fn clone(&self) -> RecipeTrimPattern
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 more§impl Debug for RecipeTrimPattern
impl Debug for RecipeTrimPattern
Auto Trait Implementations§
impl Freeze for RecipeTrimPattern
impl RefUnwindSafe for RecipeTrimPattern
impl Send for RecipeTrimPattern
impl Sync for RecipeTrimPattern
impl Unpin for RecipeTrimPattern
impl UnsafeUnpin for RecipeTrimPattern
impl UnwindSafe for RecipeTrimPattern
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