Struct glib::Permission
source · pub struct Permission { /* private fields */ }Implementations§
source§impl Permission
impl Permission
pub fn get_allowed(&self) -> bool
pub fn get_can_acquire(&self) -> bool
pub fn get_can_release(&self) -> bool
pub fn impl_update(&self, allowed: bool, can_acquire: bool, can_release: bool)
Trait Implementations§
source§impl GlibContainer<*mut GPermission> for Permission
impl GlibContainer<*mut GPermission> for Permission
fn wrap(pointer: *mut GPermission) -> Permission
fn unwrap(&self) -> *mut GPermission
Auto Trait Implementations§
impl Freeze for Permission
impl RefUnwindSafe for Permission
impl !Send for Permission
impl !Sync for Permission
impl Unpin for Permission
impl UnwindSafe for Permission
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