Struct hcl::expr::TraversalBuilder
source · pub struct TraversalBuilder { /* private fields */ }
Expand description
Implementations
sourceimpl 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<T>(self) -> Self
pub fn attr_splat<T>(self) -> Self
Add an attribute splat operator to the traversal chain.
sourcepub fn full_splat<T>(self) -> Self
pub fn full_splat<T>(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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TraversalBuilder
impl Send for TraversalBuilder
impl Sync for TraversalBuilder
impl Unpin for TraversalBuilder
impl UnwindSafe for TraversalBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more