pub enum InlineCompletionProvider {
Bool(bool),
InlineCompletionOptions(InlineCompletionOptions),
}Variants§
Bool(bool)
InlineCompletionOptions(InlineCompletionOptions)
Trait Implementations§
Source§impl Clone for InlineCompletionProvider
impl Clone for InlineCompletionProvider
Source§fn clone(&self) -> InlineCompletionProvider
fn clone(&self) -> InlineCompletionProvider
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 InlineCompletionProvider
impl Debug for InlineCompletionProvider
Source§impl<'de> Deserialize<'de> for InlineCompletionProvider
impl<'de> Deserialize<'de> for InlineCompletionProvider
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<InlineCompletionOptions> for InlineCompletionProvider
impl From<InlineCompletionOptions> for InlineCompletionProvider
Source§fn from(v: InlineCompletionOptions) -> Self
fn from(v: InlineCompletionOptions) -> Self
Converts to this type from the input type.
Source§impl From<bool> for InlineCompletionProvider
impl From<bool> for InlineCompletionProvider
Source§impl Hash for InlineCompletionProvider
impl Hash for InlineCompletionProvider
Source§impl PartialEq for InlineCompletionProvider
impl PartialEq for InlineCompletionProvider
Source§fn eq(&self, other: &InlineCompletionProvider) -> bool
fn eq(&self, other: &InlineCompletionProvider) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InlineCompletionProvider
impl Serialize for InlineCompletionProvider
impl Copy for InlineCompletionProvider
impl Eq for InlineCompletionProvider
impl StructuralPartialEq for InlineCompletionProvider
Auto Trait Implementations§
impl Freeze for InlineCompletionProvider
impl RefUnwindSafe for InlineCompletionProvider
impl Send for InlineCompletionProvider
impl Sync for InlineCompletionProvider
impl Unpin for InlineCompletionProvider
impl UnsafeUnpin for InlineCompletionProvider
impl UnwindSafe for InlineCompletionProvider
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