Struct hcl::expr::TraversalBuilder  
source · pub struct TraversalBuilder { /* private fields */ }Expand description
Implementations§
source§impl TraversalBuilder
 
impl TraversalBuilder
sourcepub fn attr<T>(self, ident: T) -> Selfwhere
    T: Into<Identifier>,
 
pub fn attr<T>(self, ident: T) -> Selfwhere T: Into<Identifier>,
Add an attribute access operator to the traversal chain.
sourcepub fn attr_splat(self) -> Self
 
pub fn attr_splat(self) -> Self
Add an attribute splat operator to the traversal chain.
sourcepub fn full_splat(self) -> Self
 
pub fn full_splat(self) -> Self
Add a full splat operator to the traversal chain.
sourcepub fn index<T>(self, expr: T) -> Selfwhere
    T: Into<Expression>,
 
pub fn index<T>(self, expr: T) -> Selfwhere T: Into<Expression>,
Add an index operator to the traversal chain.