Struct polkit_sys::PolkitIdentityIface
source · #[repr(C)]pub struct PolkitIdentityIface {
pub parent_iface: GTypeInterface,
pub hash: Option<unsafe extern "C" fn(_: *mut PolkitIdentity) -> c_uint>,
pub equal: Option<unsafe extern "C" fn(_: *mut PolkitIdentity, _: *mut PolkitIdentity) -> gboolean>,
pub to_string: Option<unsafe extern "C" fn(_: *mut PolkitIdentity) -> *mut c_char>,
}
Fields§
§parent_iface: GTypeInterface
§hash: Option<unsafe extern "C" fn(_: *mut PolkitIdentity) -> c_uint>
§equal: Option<unsafe extern "C" fn(_: *mut PolkitIdentity, _: *mut PolkitIdentity) -> gboolean>
§to_string: Option<unsafe extern "C" fn(_: *mut PolkitIdentity) -> *mut c_char>
Trait Implementations§
source§impl Clone for PolkitIdentityIface
impl Clone for PolkitIdentityIface
source§fn clone(&self) -> PolkitIdentityIface
fn clone(&self) -> PolkitIdentityIface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PolkitIdentityIface
impl Debug for PolkitIdentityIface
impl Copy for PolkitIdentityIface
Auto Trait Implementations§
impl RefUnwindSafe for PolkitIdentityIface
impl Send for PolkitIdentityIface
impl Sync for PolkitIdentityIface
impl Unpin for PolkitIdentityIface
impl UnwindSafe for PolkitIdentityIface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more