fn is_type_name(&self, name: &str) -> bool {
        self.get_concrete_type_name()
            .map(|n| n == name)
            .unwrap_or(false)
    }
/// Checks if the concrete type of this object matches the string. N.B: This
/// is NOT equivalent to the PhysX `is_kind_of`, which accounts for derived
/// types. This function does exact matching.
// TODO why? match self.get_concrete_type() {} is better, no?
Checks if the concrete type of this object matches the string. N.B: This
is NOT equivalent to the PhysX `is_kind_of`, which accounts for derived
types. This function does exact matching.
TODO why.
Checks if the concrete type of this object matches the string . N . B : This is NOT equivalent to the PhysX ` is_kind_of ` which accounts for derived types . This function does exact matching . TODO why .
fn is_type_name(&self, name: &str) -> bool {
        self.get_concrete_type_name()
            .map(|n| n == name)
            .unwrap_or(false)
    }
fn is_type_name ( & self , name : & str ) -> bool { self . get_concrete_type_name ( ) . map ( | n | n == name ) . unwrap_or ( false ) }
Checks if the concrete type of this object matches the string.
Checks if the concrete type of this object matches the string .
&self
name
&str