Enum neli::attr::AttrHandle[][src]

pub enum AttrHandle<'a, O, I> {
    Owned(O),
    Borrowed(&'a [I]),
}
Expand description

Handle returned for traversing nested attribute structures

Variants

Owned(O)

Owned vector

Tuple Fields of Owned

0: O
Borrowed(&'a [I])

Vector reference

Tuple Fields of Borrowed

0: &'a [I]

Implementations

Create new AttrHandle

Create new borrowed AttrHandle

Pass back iterator over attributes

Get the underlying owned value as a reference

Get the payload of an attribute as a handle for parsing nested attributes

Get nested attributes from a parsed handle

Parse binary payload as a type that implements FromBytes.

Parse binary payload as a type that implements FromBytesWithInput

Get the payload of an attribute as a handle for parsing nested attributes.

Get nested attributes from a parsed handle.

Parse binary payload as a type that implements FromBytes.

Parse binary payload as a type that implements FromBytesWithInput.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.