Name

Type Alias Name 

Source
pub type Name = BoundedName<MAX_NAME_LENGTH>;
Expand description

A name that can refer to a component, collection, or other entity in the Component Manifest. Its length is bounded to MAX_NAME_LENGTH.

Aliased Type§

pub struct Name(/* private fields */);

Implementations§

Source§

impl Name

Source

pub fn to_long(self) -> LongName

Trait Implementations§

Source§

impl From<HandleType> for Name

Source§

fn from(numbered_handle: HandleType) -> Self

Converts to this type from the input type.
Source§

impl IterablePath for &Name

Source§

fn iter_segments(&self) -> impl DoubleEndedIterator<Item = &BorrowedName> + Send

Returns a double-sided iterator over the segments in this path.
Source§

impl IterablePath for Name

Source§

fn iter_segments(&self) -> impl DoubleEndedIterator<Item = &BorrowedName> + Send

Returns a double-sided iterator over the segments in this path.