Luna::Path::operator[]

const_reference operator[](usize index) const

Gets the name node at the specified index.

Parameters

  • in index

    The index of the name node.

Return value

Returns one constant reference of the name node.