Enum rustdoc::doctree::StructType [−][src]
pub enum StructType {
Plain,
Tuple,
Unit,
}Variants
PlainA braced struct
TupleA tuple struct
UnitA unit struct
Trait Implementations
impl Debug for StructType[src]
impl Debug for StructTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for StructType[src]
impl Clone for StructTypefn clone(&self) -> StructType[src]
fn clone(&self) -> StructTypeReturns 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 StructTypefn 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 StructTypefn 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 StructTypeAuto Trait Implementations
impl Send for StructType
impl Send for StructTypeimpl Sync for StructType
impl Sync for StructType