Enum rustdoc::doctree::StructType
[−]
[src]
pub enum StructType {
Plain,
Tuple,
Newtype,
Unit,
}Unstable (
rustdoc)Variants
PlainUnstable (
rustdoc)A normal struct
TupleUnstable (
rustdoc)A tuple struct
NewtypeUnstable (
rustdoc)A newtype struct (tuple struct with one element)
UnitUnstable (
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