Enum rustdoc::doctree::StructType[src]
pub enum StructType {
Plain,
Tuple,
Newtype,
Unit,
}Variants
Plain | A normal struct |
Tuple | A tuple struct |
Newtype | A newtype struct (tuple struct with one element) |
Unit | A unit struct |
pub enum StructType {
Plain,
Tuple,
Newtype,
Unit,
}Plain | A normal struct |
Tuple | A tuple struct |
Newtype | A newtype struct (tuple struct with one element) |
Unit | A unit struct |
impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for StructTypefn decode(__arg_0: &mut __D) -> Result<StructType, __E>impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for StructTypeimpl Clone for StructTypefn clone(&self) -> StructTypefn clone_from(&mut self, source: &Self)impl Show for StructType
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).