Struct rustfmt_nightly::chains::Chain
source · struct Chain {
parent: ChainItem,
children: Vec<ChainItem>,
}
Fields§
§parent: ChainItem
§children: Vec<ChainItem>
Implementations§
source§impl Chain
impl Chain
fn from_ast(expr: &Expr, context: &RewriteContext<'_>) -> Chain
fn make_subexpr_list(expr: &Expr, context: &RewriteContext<'_>) -> Vec<Expr>
fn pop_expr_chain(expr: &Expr, context: &RewriteContext<'_>) -> Option<Expr>
fn convert_try(expr: &Expr, context: &RewriteContext<'_>) -> Expr
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Chain
impl !Send for Chain
impl !Sync for Chain
impl Unpin for Chain
impl !UnwindSafe for Chain
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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