Enum rustdoc::doctree::StructType [] [src]

pub enum StructType {
    Plain,
    Tuple,
    Newtype,
    Unit,
}
Unstable (rustdoc)

Variants

Plain
Unstable (rustdoc)

A normal struct

Tuple
Unstable (rustdoc)

A tuple struct

Newtype
Unstable (rustdoc)

A newtype struct (tuple struct with one element)

Unit
Unstable (rustdoc)

A unit struct

Trait Implementations

Derived Implementations

impl Copy for StructType
[src]

impl Decodable for StructType
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<StructType, __D::Error>

impl Encodable for StructType
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Clone for StructType
[src]

fn clone(&self) -> StructType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for StructType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.