pub enum Edit {
TextEdit(TextEdit),
AnnotatedTextEdit(AnnotatedTextEdit),
SnippetTextEdit(SnippetTextEdit),
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Edit
impl<'de> Deserialize<'de> for Edit
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 From<AnnotatedTextEdit> for Edit
impl From<AnnotatedTextEdit> for Edit
Source§fn from(v: AnnotatedTextEdit) -> Self
fn from(v: AnnotatedTextEdit) -> Self
Converts to this type from the input type.
Source§impl From<SnippetTextEdit> for Edit
impl From<SnippetTextEdit> for Edit
Source§fn from(v: SnippetTextEdit) -> Self
fn from(v: SnippetTextEdit) -> Self
Converts to this type from the input type.
impl Eq for Edit
impl StructuralPartialEq for Edit
Auto Trait Implementations§
impl Freeze for Edit
impl RefUnwindSafe for Edit
impl Send for Edit
impl Sync for Edit
impl Unpin for Edit
impl UnsafeUnpin for Edit
impl UnwindSafe for Edit
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