Enum rustdoc::doctree::StructType [−][src]
pub enum StructType { Plain, Tuple, Unit, }
Variants
Plain
A braced struct
Tuple
A tuple struct
Unit
A unit struct
Trait Implementations
impl Debug for StructType
[src]
impl Debug for StructType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for StructType
[src]
impl Clone for StructType
fn clone(&self) -> StructType
[src]
fn clone(&self) -> StructType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Encodable for StructType
[src]
impl Encodable for StructType
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Decodable for StructType
[src]
impl Decodable for StructType
fn decode<__D: Decoder>(d: &mut __D) -> Result<StructType, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<StructType, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Copy for StructType
[src]
impl Copy for StructType
Auto Trait Implementations
impl Send for StructType
impl Send for StructType
impl Sync for StructType
impl Sync for StructType