pub fn str(&self) -> &'static str {
        unsafe {
            let ptr = call!(raw::git_object_type2string(*self));
            mem::transmute::<&str, &'static str>(str::from_c_str(ptr))
        }
    }
/// Convert an object type to its string representation.
Convert an object type to its string representation.
Convert an object type to its string representation .
pub fn str(&self) -> &'static str {
        unsafe {
            let ptr = call!(raw::git_object_type2string(*self));
            mem::transmute::<&str, &'static str>(str::from_c_str(ptr))
        }
    }
pub fn str ( & self ) -> & ' static str { unsafe { let ptr = call ! ( raw git_object_type2string ( self ) ) ; mem :: transmute :: < & str , & ' static str > ( str :: from_c_str ( ptr ) ) } }
Convert an object type to its string representation.
Convert an object type to its string representation .
&self
&self