/// Returns the number of allocated elements.
Returns the number of allocated elements.
Returns the number of allocated elements .
pub fn size(&self) -> u32 {
        match self {
            Table::Static { size, .. } => *size,
            Table::Dynamic { elements, .. } => elements.len().try_into().unwrap(),
        }
    }
pub fn size ( & self ) -> u32 { match self { Table :: Static { size , .. } => * size , Table :: Dynamic { elements , .. } => elements . len ( ) . try_into ( ) . unwrap ( ) , } }
Returns the number of allocated elements.
Returns the number of allocated elements .
&self