pub enum Origin {
File,
Inline,
Expr,
Fallback,
Detached,
}Expand description
where a root’s document came from
Variants§
File
a file
Inline
inline text
Expr
an expression
Fallback
the input’s fallback
Detached
an output detached by an edit
Implementations§
Trait Implementations§
impl Copy for Origin
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl Freeze for Origin
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnsafeUnpin 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