pub fn find_name(&self, find_name: &str) -> Option<NameReference> {
        // TODO: Handle `_N` suffixes -> number: Some?
        let find_name_lower = find_name.to_lowercase();
        for (index, name) in self.names.iter().enumerate() {
            if find_name == name || find_name_lower == name.to_lowercase() {
                return Some(NameReference {
                    index: index as u32,
                    number: None,
                });
            }
        }

        None
    }
/// Attempt to look up `find_name` in the name table serialized in [`AssetHeader::names`], will return None
/// if the name does not exist. Names are case insensitive.
Attempt to look up `find_name` in the name table serialized in [`AssetHeader::names`], will return None
if the name does not exist. Names are case insensitive.
Attempt to look up ` find_name ` in the name table serialized in [ ` AssetHeader :: names ` ] will return None if the name does not exist . Names are case insensitive .
pub fn find_name(&self, find_name: &str) -> Option<NameReference> {
        // TODO: Handle `_N` suffixes -> number: Some?
        let find_name_lower = find_name.to_lowercase();
        for (index, name) in self.names.iter().enumerate() {
            if find_name == name || find_name_lower == name.to_lowercase() {
                return Some(NameReference {
                    index: index as u32,
                    number: None,
                });
            }
        }
        None
    }
pub fn find_name ( & self , find_name : & str ) -> Option < NameReference > { // TODO: Handle `_N` suffixes -> number: Some? let find_name_lower = find_name . to_lowercase ( ) ; for ( index , name ) in self . names . iter ( ) . enumerate ( ) { if find_name == name || find_name_lower == name . to_lowercase ( ) { return Some ( NameReference { index : index as u32 , number : None , } ) ; } } None }
Attempt to look up `find_name` in the name table serialized in [`AssetHeader::names`], will return None
if the name does not exist.
Attempt to look up ` find_name ` in the name table serialized in [ ` AssetHeader :: names ` ] will return None if the name does not exist .
&self
find_name
&str