pub fn id(&self) -> Option<usize> {
        match self {
            Self::Id(n) => Some(*n),
            _ => None,
        }
    }
/// Get the identifier of the component.
Get the identifier of the component.
Get the identifier of the component .
pub fn id(&self) -> Option<usize> {
        match self {
            Self::Id(n) => Some(*n),
            _ => None,
        }
    }
pub fn id ( & self ) -> Option < usize > { match self { Self :: Id ( n ) => Some ( * n ) , _ => None , } }
Get the identifier of the component.
Get the identifier of the component .
&self
&self