crate::ix!();
#[derive(Default,Clone)]
pub struct KeyOriginInfo {
fingerprint: [u8; 4],
path: Vec<u32>,
}
impl PartialEq<KeyOriginInfo> for KeyOriginInfo {
#[inline] fn eq(&self, other: &KeyOriginInfo) -> bool {
todo!();
}
}
impl Eq for KeyOriginInfo {}
lazy_static!{
}
impl KeyOriginInfo {
pub fn clear(&mut self) {
let ptr = self.fingerprint.as_mut_ptr() as *mut _ as *mut libc::c_void;
unsafe { libc::memset(ptr, 0, 4) };
self.path.clear();
}
}