Enum rustdoc::doctree::StructTypeExperimental [-]  [+] [src]

pub enum StructType {
    Plain,
    Tuple,
    Newtype,
    Unit,
}

Variants

Plain

A normal struct

Tuple

A tuple struct

Newtype

A newtype struct (tuple struct with one element)

Unit

A unit struct

Trait Implementations

Derived Implementations

impl Copy for StructType

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for StructType

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for StructType

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

impl Clone for StructType

fn clone(&self) -> StructType

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

impl Show for StructType

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