Enum rls_data::Signature [] [src]

pub enum Signature {
    Fn {
        args: Vec<(SigElement, TypeSig)>,
        return_type: TypeSig,
        generics: Vec<(SigElement, Vec<BoundSig>)>,
        self_: Option<String>,
    },
    TypeDecl {
        generics: Vec<(SigElement, Vec<BoundSig>)>,
    },
    Alias {
        rhs: TypeSig,
        generics: Vec<(SigElement, Vec<BoundSig>)>,
    },
    Impl {
        self_type: TypeSig,
        trait_: TypeSig,
        generics: Vec<(SigElement, Vec<BoundSig>)>,
    },
    None,
}

Variants

Fields of Fn

Fields of TypeDecl

Fields of Alias

Fields of Impl

Trait Implementations

impl Debug for Signature
[src]

Formats the value using the given formatter.

impl Clone for Signature
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Decodable for Signature
[src]

Deserialize a value using a Decoder.

impl Encodable for Signature
[src]

Serialize a value using an Encoder.