pub fn id(self) -> Option<usize> {
        match self {
            Self::Id(n) => Some(n),
            _ => None,
        }
    }
/// Get the identifier of the component if it is an identifier component.
Get the identifier of the component if it is an identifier component.
Get the identifier of the component if it is an identifier 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 if it is an identifier component.
Get the identifier of the component if it is an identifier component .
self
self