Struct pipewire::permissions::Permission
source · pub struct Permission(/* private fields */);
Implementations§
source§impl Permission
impl Permission
pub fn new(id: u32, flags: PermissionFlags) -> Self
pub fn id(&self) -> u32
pub fn set_id(&mut self, id: u32)
pub fn permission_flags(&self) -> PermissionFlags
pub fn set_permission_flags(&mut self, flags: PermissionFlags)
Trait Implementations§
source§impl Clone for Permission
impl Clone for Permission
source§fn clone(&self) -> Permission
fn clone(&self) -> Permission
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 Permission
impl Debug for Permission
impl Copy for Permission
Auto Trait Implementations§
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