Struct lsp::jsonrpc::Union[][src]

pub struct Union<T0, T1>(pub Option<T0>, pub Option<T1>);

Methods

impl<T0, T1> Union<T0, T1>
[src]

Trait Implementations

impl<T0: Debug, T1: Debug> Debug for Union<T0, T1>
[src]

Formats the value using the given formatter. Read more

impl<T0, T1> Serialize for Union<T0, T1> where
    T0: Serialize,
    T1: Serialize
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl<T0, T1> Send for Union<T0, T1> where
    T0: Send,
    T1: Send

impl<T0, T1> Sync for Union<T0, T1> where
    T0: Sync,
    T1: Sync