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]
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