Enum rustfmt_nightly::chains::ChainItemKind [−][src]
enum ChainItemKind {
Parent(Expr),
MethodCall(PathSegment, Vec<GenericArg>, Vec<P<Expr>>),
StructField(Ident),
TupleField(Ident, bool),
Await,
Comment(String, CommentPosition),
}
Variants
Parent(Expr)
Tuple Fields of Parent
0: Expr
MethodCall(PathSegment, Vec<GenericArg>, Vec<P<Expr>>)
Tuple Fields of MethodCall
StructField(Ident)
Tuple Fields of StructField
0: Ident
Comment(String, CommentPosition)
Tuple Fields of Comment
0: String
1: CommentPosition
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ChainItemKind
impl !Send for ChainItemKind
impl !Sync for ChainItemKind
impl Unpin for ChainItemKind
impl !UnwindSafe for ChainItemKind
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 112 bytes
Size for each variant:
Parent
: 111 bytesMethodCall
: 79 bytesStructField
: 15 bytesTupleField
: 15 bytesAwait
: 0 bytesComment
: 31 bytes