#[non_exhaustive]pub enum ContextEditType {
Known(ContextEditTypeKnown),
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Known(ContextEditTypeKnown)
Unknown(String)
Trait Implementations§
Source§impl Clone for ContextEditType
impl Clone for ContextEditType
Source§fn clone(&self) -> ContextEditType
fn clone(&self) -> ContextEditType
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 ContextEditType
impl Debug for ContextEditType
Source§impl<'de> Deserialize<'de> for ContextEditType
impl<'de> Deserialize<'de> for ContextEditType
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextEditType
Source§impl PartialEq for ContextEditType
impl PartialEq for ContextEditType
Source§impl Serialize for ContextEditType
impl Serialize for ContextEditType
impl StructuralPartialEq for ContextEditType
Auto Trait Implementations§
impl Freeze for ContextEditType
impl RefUnwindSafe for ContextEditType
impl Send for ContextEditType
impl Sync for ContextEditType
impl Unpin for ContextEditType
impl UnsafeUnpin for ContextEditType
impl UnwindSafe for ContextEditType
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