Enum lsp_types::TraceOption
source · [−]pub enum TraceOption {
Off,
Messages,
Verbose,
}
Variants
Off
Messages
Verbose
Trait Implementations
sourceimpl Clone for TraceOption
impl Clone for TraceOption
sourcefn clone(&self) -> TraceOption
fn clone(&self) -> TraceOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TraceOption
impl Debug for TraceOption
sourceimpl Default for TraceOption
impl Default for TraceOption
sourcefn default() -> TraceOption
fn default() -> TraceOption
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TraceOption
impl<'de> Deserialize<'de> for TraceOption
sourcefn 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
sourceimpl PartialEq<TraceOption> for TraceOption
impl PartialEq<TraceOption> for TraceOption
sourceimpl Serialize for TraceOption
impl Serialize for TraceOption
impl Copy for TraceOption
impl Eq for TraceOption
impl StructuralEq for TraceOption
impl StructuralPartialEq for TraceOption
Auto Trait Implementations
impl RefUnwindSafe for TraceOption
impl Send for TraceOption
impl Sync for TraceOption
impl Unpin for TraceOption
impl UnwindSafe for TraceOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more