#[repr(C)]pub struct _GTlsPasswordClass {
pub parent_class: GObjectClass,
pub get_value: Option<unsafe extern "C" fn(password: *mut GTlsPassword, length: *mut gsize) -> *const guchar>,
pub set_value: Option<unsafe extern "C" fn(password: *mut GTlsPassword, value: *mut guchar, length: gssize, destroy: GDestroyNotify)>,
pub get_default_warning: Option<unsafe extern "C" fn(password: *mut GTlsPassword) -> *const gchar>,
pub padding: [gpointer; 4],
}
Expand description
GTlsPasswordClass: @get_value: virtual method for g_tls_password_get_value() @set_value: virtual method for g_tls_password_set_value() @get_default_warning: virtual method for g_tls_password_get_warning() if no value has been set using g_tls_password_set_warning()
Class structure for #GTlsPassword.
Fields§
§parent_class: GObjectClass
§get_value: Option<unsafe extern "C" fn(password: *mut GTlsPassword, length: *mut gsize) -> *const guchar>
§set_value: Option<unsafe extern "C" fn(password: *mut GTlsPassword, value: *mut guchar, length: gssize, destroy: GDestroyNotify)>
§get_default_warning: Option<unsafe extern "C" fn(password: *mut GTlsPassword) -> *const gchar>
§padding: [gpointer; 4]
Trait Implementations§
Source§impl Clone for _GTlsPasswordClass
impl Clone for _GTlsPasswordClass
Source§fn clone(&self) -> _GTlsPasswordClass
fn clone(&self) -> _GTlsPasswordClass
Returns a duplicate 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 _GTlsPasswordClass
impl Debug for _GTlsPasswordClass
Source§impl PartialEq for _GTlsPasswordClass
impl PartialEq for _GTlsPasswordClass
impl Copy for _GTlsPasswordClass
impl Eq for _GTlsPasswordClass
impl StructuralPartialEq for _GTlsPasswordClass
Auto Trait Implementations§
impl Freeze for _GTlsPasswordClass
impl RefUnwindSafe for _GTlsPasswordClass
impl !Send for _GTlsPasswordClass
impl !Sync for _GTlsPasswordClass
impl Unpin for _GTlsPasswordClass
impl UnwindSafe for _GTlsPasswordClass
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