pub enum RecipeSource {
Crate {
lib: String,
},
Overlay {
path: String,
},
}Expand description
Where a recipe came from.
Variants§
Crate
Shipped inside a crate, embedded in its compiled lib.
Overlay
Supplied locally by the user overlay directory.
Trait Implementations§
Source§impl Clone for RecipeSource
impl Clone for RecipeSource
Source§fn clone(&self) -> RecipeSource
fn clone(&self) -> RecipeSource
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 RecipeSource
impl Debug for RecipeSource
impl Eq for RecipeSource
Source§impl PartialEq for RecipeSource
impl PartialEq for RecipeSource
Source§fn eq(&self, other: &RecipeSource) -> bool
fn eq(&self, other: &RecipeSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecipeSource
Auto Trait Implementations§
impl Freeze for RecipeSource
impl RefUnwindSafe for RecipeSource
impl Send for RecipeSource
impl Sync for RecipeSource
impl Unpin for RecipeSource
impl UnsafeUnpin for RecipeSource
impl UnwindSafe for RecipeSource
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