Enum playdate_build::assets::plan::Mapping
source · pub enum Mapping<'left, 'right>where
Self: 'left + 'right,{
AsIs(Match, (Expr<'left>, Expr<'right>)),
Into(Match, (Expr<'left>, Expr<'right>)),
ManyInto {
sources: Vec<Match>,
target: PathBuf,
exprs: (Expr<'left>, Expr<'right>),
},
}Variants§
AsIs(Match, (Expr<'left>, Expr<'right>))
Copy source to target as-is.
Into(Match, (Expr<'left>, Expr<'right>))
Copy source into target as-is.
ManyInto
Implementations§
Trait Implementations§
source§impl<'left, 'right> PartialEq for Mapping<'left, 'right>where
Self: 'left + 'right,
impl<'left, 'right> PartialEq for Mapping<'left, 'right>where
Self: 'left + 'right,
source§impl<'left, 'right> Serialize for Mapping<'left, 'right>where
Mapping<'left, 'right>: 'left + 'right,
impl<'left, 'right> Serialize for Mapping<'left, 'right>where
Mapping<'left, 'right>: 'left + 'right,
impl<'left, 'right> Eq for Mapping<'left, 'right>where
Self: 'left + 'right,
impl<'left, 'right> StructuralEq for Mapping<'left, 'right>where
Self: 'left + 'right,
impl<'left, 'right> StructuralPartialEq for Mapping<'left, 'right>where
Self: 'left + 'right,
Auto Trait Implementations§
impl<'left, 'right> RefUnwindSafe for Mapping<'left, 'right>
impl<'left, 'right> Send for Mapping<'left, 'right>
impl<'left, 'right> Sync for Mapping<'left, 'right>
impl<'left, 'right> Unpin for Mapping<'left, 'right>
impl<'left, 'right> UnwindSafe for Mapping<'left, 'right>
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.