Enum rustdoc::doctree::StructType
[−]
[src]
pub enum StructType { Plain, Tuple, Unit, }
🔬 This is a nightly-only experimental API. (
rustdoc
)Variants
Plain
🔬 This is a nightly-only experimental API. (
rustdoc
)A braced struct
Tuple
🔬 This is a nightly-only experimental API. (
rustdoc
)A tuple struct
Unit
🔬 This is a nightly-only experimental API. (
rustdoc
)A unit struct
Trait Implementations
impl Debug 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
impl Encodable for StructType
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io
impl Decodable for StructType
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<StructType, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io