/// Return vendor identification as human readable string.
Return vendor identification as human readable string.
Return vendor identification as human readable string .
pub fn as_string<'a>(&'a self) -> &'a str {
        unsafe {
            let brand_string_start = self as *const VendorInfo as *const u8;
            let slice = slice::from_raw_parts(brand_string_start, 3 * 4);
            let byte_array: &'a [u8] = transmute(slice);
            str::from_utf8_unchecked(byte_array)
        }
    }
pub fn as_string < ' a > ( & ' a self ) -> & ' a str { unsafe { let brand_string_start = self as * const VendorInfo as * const u8 ; let slice = slice :: from_raw_parts ( brand_string_start , 3 * 4 ) ; let byte_array : & ' a [ u8 ] = transmute ( slice ) ; str :: from_utf8_unchecked ( byte_array ) } }
Return vendor identification as human readable string.
Return vendor identification as human readable string .
&'a self