pub enum PatchOrigin {
TextMode,
FormMode,
RawIsland,
FileRecovery,
}Expand description
Where a patch originated (external design §23.12).
Variants§
Trait Implementations§
Source§impl Clone for PatchOrigin
impl Clone for PatchOrigin
Source§fn clone(&self) -> PatchOrigin
fn clone(&self) -> PatchOrigin
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 moreimpl Copy for PatchOrigin
Source§impl Debug for PatchOrigin
impl Debug for PatchOrigin
Source§impl<'de> Deserialize<'de> for PatchOrigin
impl<'de> Deserialize<'de> for PatchOrigin
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
impl Eq for PatchOrigin
Source§impl PartialEq for PatchOrigin
impl PartialEq for PatchOrigin
Source§impl Serialize for PatchOrigin
impl Serialize for PatchOrigin
impl StructuralPartialEq for PatchOrigin
Auto Trait Implementations§
impl Freeze for PatchOrigin
impl RefUnwindSafe for PatchOrigin
impl Send for PatchOrigin
impl Sync for PatchOrigin
impl Unpin for PatchOrigin
impl UnsafeUnpin for PatchOrigin
impl UnwindSafe for PatchOrigin
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