uefi_raw/protocol/
string.rsuse crate::{guid, Char16, Char8, Guid};
#[derive(Debug)]
#[repr(C)]
pub struct UnicodeCollationProtocol {
pub stri_coll:
unsafe extern "efiapi" fn(this: *const Self, s1: *const Char16, s2: *const Char16) -> isize,
pub metai_match: unsafe extern "efiapi" fn(
this: *const Self,
string: *const Char16,
pattern: *const Char16,
) -> bool,
pub str_lwr: unsafe extern "efiapi" fn(this: *const Self, s: *mut Char16),
pub str_upr: unsafe extern "efiapi" fn(this: *const Self, s: *mut Char16),
pub fat_to_str: unsafe extern "efiapi" fn(
this: *const Self,
fat_size: usize,
fat: *const Char8,
s: *mut Char16,
),
pub str_to_fat: unsafe extern "efiapi" fn(
this: *const Self,
s: *const Char16,
fat_size: usize,
fat: *mut Char8,
) -> bool,
pub supported_languages: *const Char8,
}
impl UnicodeCollationProtocol {
pub const GUID: Guid = guid!("a4c751fc-23ae-4c3e-92e9-4964cf63f349");
}