pub enum Origin {
File(PathBuf),
Terminal,
}
Expand description
Enum describing the possible origins of source code
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Origin
impl<'de> Deserialize<'de> for Origin
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
source§impl PartialEq<Origin> for Origin
impl PartialEq<Origin> for Origin
impl Eq for Origin
impl StructuralEq for Origin
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnwindSafe for Origin
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